iotda

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.2

func PkgVersion() (semver.Version, error)

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 Amqp

type Amqp struct {
	pulumi.CustomResourceState

	// Specifies the AMQP queue name, which contains 8 to 128 characters.
	// Only letters, digits, hyphens (-), underscores (_), dots (.) and colons (:) are allowed.
	// Changing this parameter will create a new resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the region in which to create the IoTDA AMQP queue resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringOutput `pulumi:"region"`
}

Manages an IoTDA AMQP queue within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := IoTDA.NewAmqp(ctx, "queue", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AMQP queues can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/amqp:Amqp test 10022532f4f94f26b01daa1e424853e1

```

func GetAmqp

func GetAmqp(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AmqpState, opts ...pulumi.ResourceOption) (*Amqp, error)

GetAmqp gets an existing Amqp 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 NewAmqp

func NewAmqp(ctx *pulumi.Context,
	name string, args *AmqpArgs, opts ...pulumi.ResourceOption) (*Amqp, error)

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

func (*Amqp) ElementType

func (*Amqp) ElementType() reflect.Type

func (*Amqp) ToAmqpOutput

func (i *Amqp) ToAmqpOutput() AmqpOutput

func (*Amqp) ToAmqpOutputWithContext

func (i *Amqp) ToAmqpOutputWithContext(ctx context.Context) AmqpOutput

type AmqpArgs

type AmqpArgs struct {
	// Specifies the AMQP queue name, which contains 8 to 128 characters.
	// Only letters, digits, hyphens (-), underscores (_), dots (.) and colons (:) are allowed.
	// Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA AMQP queue resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Amqp resource.

func (AmqpArgs) ElementType

func (AmqpArgs) ElementType() reflect.Type

type AmqpArray

type AmqpArray []AmqpInput

func (AmqpArray) ElementType

func (AmqpArray) ElementType() reflect.Type

func (AmqpArray) ToAmqpArrayOutput

func (i AmqpArray) ToAmqpArrayOutput() AmqpArrayOutput

func (AmqpArray) ToAmqpArrayOutputWithContext

func (i AmqpArray) ToAmqpArrayOutputWithContext(ctx context.Context) AmqpArrayOutput

type AmqpArrayInput

type AmqpArrayInput interface {
	pulumi.Input

	ToAmqpArrayOutput() AmqpArrayOutput
	ToAmqpArrayOutputWithContext(context.Context) AmqpArrayOutput
}

AmqpArrayInput is an input type that accepts AmqpArray and AmqpArrayOutput values. You can construct a concrete instance of `AmqpArrayInput` via:

AmqpArray{ AmqpArgs{...} }

type AmqpArrayOutput

type AmqpArrayOutput struct{ *pulumi.OutputState }

func (AmqpArrayOutput) ElementType

func (AmqpArrayOutput) ElementType() reflect.Type

func (AmqpArrayOutput) Index

func (AmqpArrayOutput) ToAmqpArrayOutput

func (o AmqpArrayOutput) ToAmqpArrayOutput() AmqpArrayOutput

func (AmqpArrayOutput) ToAmqpArrayOutputWithContext

func (o AmqpArrayOutput) ToAmqpArrayOutputWithContext(ctx context.Context) AmqpArrayOutput

type AmqpInput

type AmqpInput interface {
	pulumi.Input

	ToAmqpOutput() AmqpOutput
	ToAmqpOutputWithContext(ctx context.Context) AmqpOutput
}

type AmqpMap

type AmqpMap map[string]AmqpInput

func (AmqpMap) ElementType

func (AmqpMap) ElementType() reflect.Type

func (AmqpMap) ToAmqpMapOutput

func (i AmqpMap) ToAmqpMapOutput() AmqpMapOutput

func (AmqpMap) ToAmqpMapOutputWithContext

func (i AmqpMap) ToAmqpMapOutputWithContext(ctx context.Context) AmqpMapOutput

type AmqpMapInput

type AmqpMapInput interface {
	pulumi.Input

	ToAmqpMapOutput() AmqpMapOutput
	ToAmqpMapOutputWithContext(context.Context) AmqpMapOutput
}

AmqpMapInput is an input type that accepts AmqpMap and AmqpMapOutput values. You can construct a concrete instance of `AmqpMapInput` via:

AmqpMap{ "key": AmqpArgs{...} }

type AmqpMapOutput

type AmqpMapOutput struct{ *pulumi.OutputState }

func (AmqpMapOutput) ElementType

func (AmqpMapOutput) ElementType() reflect.Type

func (AmqpMapOutput) MapIndex

func (AmqpMapOutput) ToAmqpMapOutput

func (o AmqpMapOutput) ToAmqpMapOutput() AmqpMapOutput

func (AmqpMapOutput) ToAmqpMapOutputWithContext

func (o AmqpMapOutput) ToAmqpMapOutputWithContext(ctx context.Context) AmqpMapOutput

type AmqpOutput

type AmqpOutput struct{ *pulumi.OutputState }

func (AmqpOutput) ElementType

func (AmqpOutput) ElementType() reflect.Type

func (AmqpOutput) Name

func (o AmqpOutput) Name() pulumi.StringOutput

Specifies the AMQP queue name, which contains 8 to 128 characters. Only letters, digits, hyphens (-), underscores (_), dots (.) and colons (:) are allowed. Changing this parameter will create a new resource.

func (AmqpOutput) Region

func (o AmqpOutput) Region() pulumi.StringOutput

Specifies the region in which to create the IoTDA AMQP queue resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

func (AmqpOutput) ToAmqpOutput

func (o AmqpOutput) ToAmqpOutput() AmqpOutput

func (AmqpOutput) ToAmqpOutputWithContext

func (o AmqpOutput) ToAmqpOutputWithContext(ctx context.Context) AmqpOutput

type AmqpState

type AmqpState struct {
	// Specifies the AMQP queue name, which contains 8 to 128 characters.
	// Only letters, digits, hyphens (-), underscores (_), dots (.) and colons (:) are allowed.
	// Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA AMQP queue resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
}

func (AmqpState) ElementType

func (AmqpState) ElementType() reflect.Type

type DataforwardingRule

type DataforwardingRule struct {
	pulumi.CustomResourceState

	// Specifies the description of data forwarding rule. The description contains
	// a maximum of 256 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies whether to enable the data forwarding rule. Defaults to `false`.
	// Can not enable without `targets`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Specifies the name of data forwarding rule. The name contains a maximum of 256 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the region to which the KAFKA belongs.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the SQL SELECT statement which contains a maximum of 500 characters.
	Select pulumi.StringPtrOutput `pulumi:"select"`
	// Specifies the resource space ID which uses the data forwarding rule.
	// If omitted, all resource space will use the data forwarding rule. Changing this parameter will create a new resource.
	SpaceId pulumi.StringOutput `pulumi:"spaceId"`
	// Specifies the list of the targets (HUAWEI CLOUD services or private servers) to which you
	// want to forward the data. The targets structure is documented below.
	Targets DataforwardingRuleTargetArrayOutput `pulumi:"targets"`
	// Specifies the trigger event. The options are as follows:
	// + **device:create**: Device added.
	// + **device:delete**: Device deleted.
	// + **device:update**: Device updated.
	// + **device.status:update**: Device status changed.
	// + **device.property:report**: Device property reported.
	// + **device.message:report**: Device message reported.
	// + **device.message.status:update**: Device message status changed.
	// + **batchtask:update**: Batch task status changed.
	// + **product:create**: Product added.
	// + **product:delete**: Product deleted.
	// + **product:update**: Product updated.
	// + **device.command.status:update**: Update of the device asynchronous command status.
	Trigger pulumi.StringOutput `pulumi:"trigger"`
	// Specifies the SQL WHERE statement which contains a maximum of 500 characters.
	Where pulumi.StringPtrOutput `pulumi:"where"`
}

Manages an IoTDA data forwarding rule within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		disRegion := cfg.RequireObject("disRegion")
		disStreamId := cfg.RequireObject("disStreamId")
		obsRegion := cfg.RequireObject("obsRegion")
		obsbucket := cfg.RequireObject("obsbucket")
		_, err := IoTDA.NewDataforwardingRule(ctx, "test", &IoTDA.DataforwardingRuleArgs{
			Trigger: pulumi.String("product:create"),
			Enabled: pulumi.Bool(true),
			Targets: iotda.DataforwardingRuleTargetArray{
				&iotda.DataforwardingRuleTargetArgs{
					Type: pulumi.String("DIS_FORWARDING"),
					DisForwarding: &iotda.DataforwardingRuleTargetDisForwardingArgs{
						Region:   pulumi.Any(disRegion),
						StreamId: pulumi.Any(disStreamId),
					},
				},
				&iotda.DataforwardingRuleTargetArgs{
					Type: pulumi.String("HTTP_FORWARDING"),
					HttpForwarding: &iotda.DataforwardingRuleTargetHttpForwardingArgs{
						Url: pulumi.String("http://www.yourDomain.com"),
					},
				},
				&iotda.DataforwardingRuleTargetArgs{
					Type: pulumi.String("OBS_FORWARDING"),
					ObsForwarding: &iotda.DataforwardingRuleTargetObsForwardingArgs{
						Region: pulumi.Any(obsRegion),
						Bucket: pulumi.Any(obsbucket),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Data forwarding rules can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/dataforwardingRule:DataforwardingRule test 10022532f4f94f26b01daa1e424853e1

```

Note that the imported state may not be identical to your resource definition, due to some attrubutes missing from the API response, security or some other reason. The missing attributes include`password` of `kafka_forwarding`. It is generally recommended running `terraform plan` after importing the resource. You can then decide if changes should be applied to the resource, or the resource definition should be updated to align with the group. Also you can ignore changes as below. resource "huaweicloud_iotda_device_group" "test" {

...

lifecycle {

ignore_changes = [

targets,

]

} }

func GetDataforwardingRule

func GetDataforwardingRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DataforwardingRuleState, opts ...pulumi.ResourceOption) (*DataforwardingRule, error)

GetDataforwardingRule gets an existing DataforwardingRule 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 NewDataforwardingRule

func NewDataforwardingRule(ctx *pulumi.Context,
	name string, args *DataforwardingRuleArgs, opts ...pulumi.ResourceOption) (*DataforwardingRule, error)

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

func (*DataforwardingRule) ElementType

func (*DataforwardingRule) ElementType() reflect.Type

func (*DataforwardingRule) ToDataforwardingRuleOutput

func (i *DataforwardingRule) ToDataforwardingRuleOutput() DataforwardingRuleOutput

func (*DataforwardingRule) ToDataforwardingRuleOutputWithContext

func (i *DataforwardingRule) ToDataforwardingRuleOutputWithContext(ctx context.Context) DataforwardingRuleOutput

type DataforwardingRuleArgs

type DataforwardingRuleArgs struct {
	// Specifies the description of data forwarding rule. The description contains
	// a maximum of 256 characters.
	Description pulumi.StringPtrInput
	// Specifies whether to enable the data forwarding rule. Defaults to `false`.
	// Can not enable without `targets`.
	Enabled pulumi.BoolPtrInput
	// Specifies the name of data forwarding rule. The name contains a maximum of 256 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringPtrInput
	// Specifies the region to which the KAFKA belongs.
	Region pulumi.StringPtrInput
	// Specifies the SQL SELECT statement which contains a maximum of 500 characters.
	Select pulumi.StringPtrInput
	// Specifies the resource space ID which uses the data forwarding rule.
	// If omitted, all resource space will use the data forwarding rule. Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
	// Specifies the list of the targets (HUAWEI CLOUD services or private servers) to which you
	// want to forward the data. The targets structure is documented below.
	Targets DataforwardingRuleTargetArrayInput
	// Specifies the trigger event. The options are as follows:
	// + **device:create**: Device added.
	// + **device:delete**: Device deleted.
	// + **device:update**: Device updated.
	// + **device.status:update**: Device status changed.
	// + **device.property:report**: Device property reported.
	// + **device.message:report**: Device message reported.
	// + **device.message.status:update**: Device message status changed.
	// + **batchtask:update**: Batch task status changed.
	// + **product:create**: Product added.
	// + **product:delete**: Product deleted.
	// + **product:update**: Product updated.
	// + **device.command.status:update**: Update of the device asynchronous command status.
	Trigger pulumi.StringInput
	// Specifies the SQL WHERE statement which contains a maximum of 500 characters.
	Where pulumi.StringPtrInput
}

The set of arguments for constructing a DataforwardingRule resource.

func (DataforwardingRuleArgs) ElementType

func (DataforwardingRuleArgs) ElementType() reflect.Type

type DataforwardingRuleArray

type DataforwardingRuleArray []DataforwardingRuleInput

func (DataforwardingRuleArray) ElementType

func (DataforwardingRuleArray) ElementType() reflect.Type

func (DataforwardingRuleArray) ToDataforwardingRuleArrayOutput

func (i DataforwardingRuleArray) ToDataforwardingRuleArrayOutput() DataforwardingRuleArrayOutput

func (DataforwardingRuleArray) ToDataforwardingRuleArrayOutputWithContext

func (i DataforwardingRuleArray) ToDataforwardingRuleArrayOutputWithContext(ctx context.Context) DataforwardingRuleArrayOutput

type DataforwardingRuleArrayInput

type DataforwardingRuleArrayInput interface {
	pulumi.Input

	ToDataforwardingRuleArrayOutput() DataforwardingRuleArrayOutput
	ToDataforwardingRuleArrayOutputWithContext(context.Context) DataforwardingRuleArrayOutput
}

DataforwardingRuleArrayInput is an input type that accepts DataforwardingRuleArray and DataforwardingRuleArrayOutput values. You can construct a concrete instance of `DataforwardingRuleArrayInput` via:

DataforwardingRuleArray{ DataforwardingRuleArgs{...} }

type DataforwardingRuleArrayOutput

type DataforwardingRuleArrayOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleArrayOutput) ElementType

func (DataforwardingRuleArrayOutput) Index

func (DataforwardingRuleArrayOutput) ToDataforwardingRuleArrayOutput

func (o DataforwardingRuleArrayOutput) ToDataforwardingRuleArrayOutput() DataforwardingRuleArrayOutput

func (DataforwardingRuleArrayOutput) ToDataforwardingRuleArrayOutputWithContext

func (o DataforwardingRuleArrayOutput) ToDataforwardingRuleArrayOutputWithContext(ctx context.Context) DataforwardingRuleArrayOutput

type DataforwardingRuleInput

type DataforwardingRuleInput interface {
	pulumi.Input

	ToDataforwardingRuleOutput() DataforwardingRuleOutput
	ToDataforwardingRuleOutputWithContext(ctx context.Context) DataforwardingRuleOutput
}

type DataforwardingRuleMap

type DataforwardingRuleMap map[string]DataforwardingRuleInput

func (DataforwardingRuleMap) ElementType

func (DataforwardingRuleMap) ElementType() reflect.Type

func (DataforwardingRuleMap) ToDataforwardingRuleMapOutput

func (i DataforwardingRuleMap) ToDataforwardingRuleMapOutput() DataforwardingRuleMapOutput

func (DataforwardingRuleMap) ToDataforwardingRuleMapOutputWithContext

func (i DataforwardingRuleMap) ToDataforwardingRuleMapOutputWithContext(ctx context.Context) DataforwardingRuleMapOutput

type DataforwardingRuleMapInput

type DataforwardingRuleMapInput interface {
	pulumi.Input

	ToDataforwardingRuleMapOutput() DataforwardingRuleMapOutput
	ToDataforwardingRuleMapOutputWithContext(context.Context) DataforwardingRuleMapOutput
}

DataforwardingRuleMapInput is an input type that accepts DataforwardingRuleMap and DataforwardingRuleMapOutput values. You can construct a concrete instance of `DataforwardingRuleMapInput` via:

DataforwardingRuleMap{ "key": DataforwardingRuleArgs{...} }

type DataforwardingRuleMapOutput

type DataforwardingRuleMapOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleMapOutput) ElementType

func (DataforwardingRuleMapOutput) MapIndex

func (DataforwardingRuleMapOutput) ToDataforwardingRuleMapOutput

func (o DataforwardingRuleMapOutput) ToDataforwardingRuleMapOutput() DataforwardingRuleMapOutput

func (DataforwardingRuleMapOutput) ToDataforwardingRuleMapOutputWithContext

func (o DataforwardingRuleMapOutput) ToDataforwardingRuleMapOutputWithContext(ctx context.Context) DataforwardingRuleMapOutput

type DataforwardingRuleOutput

type DataforwardingRuleOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleOutput) Description

Specifies the description of data forwarding rule. The description contains a maximum of 256 characters.

func (DataforwardingRuleOutput) ElementType

func (DataforwardingRuleOutput) ElementType() reflect.Type

func (DataforwardingRuleOutput) Enabled

Specifies whether to enable the data forwarding rule. Defaults to `false`. Can not enable without `targets`.

func (DataforwardingRuleOutput) Name

Specifies the name of data forwarding rule. The name contains a maximum of 256 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (DataforwardingRuleOutput) Region

Specifies the region to which the KAFKA belongs.

func (DataforwardingRuleOutput) Select

Specifies the SQL SELECT statement which contains a maximum of 500 characters.

func (DataforwardingRuleOutput) SpaceId

Specifies the resource space ID which uses the data forwarding rule. If omitted, all resource space will use the data forwarding rule. Changing this parameter will create a new resource.

func (DataforwardingRuleOutput) Targets

Specifies the list of the targets (HUAWEI CLOUD services or private servers) to which you want to forward the data. The targets structure is documented below.

func (DataforwardingRuleOutput) ToDataforwardingRuleOutput

func (o DataforwardingRuleOutput) ToDataforwardingRuleOutput() DataforwardingRuleOutput

func (DataforwardingRuleOutput) ToDataforwardingRuleOutputWithContext

func (o DataforwardingRuleOutput) ToDataforwardingRuleOutputWithContext(ctx context.Context) DataforwardingRuleOutput

func (DataforwardingRuleOutput) Trigger

Specifies the trigger event. The options are as follows: + **device:create**: Device added. + **device:delete**: Device deleted. + **device:update**: Device updated. + **device.status:update**: Device status changed. + **device.property:report**: Device property reported. + **device.message:report**: Device message reported. + **device.message.status:update**: Device message status changed. + **batchtask:update**: Batch task status changed. + **product:create**: Product added. + **product:delete**: Product deleted. + **product:update**: Product updated. + **device.command.status:update**: Update of the device asynchronous command status.

func (DataforwardingRuleOutput) Where

Specifies the SQL WHERE statement which contains a maximum of 500 characters.

type DataforwardingRuleState

type DataforwardingRuleState struct {
	// Specifies the description of data forwarding rule. The description contains
	// a maximum of 256 characters.
	Description pulumi.StringPtrInput
	// Specifies whether to enable the data forwarding rule. Defaults to `false`.
	// Can not enable without `targets`.
	Enabled pulumi.BoolPtrInput
	// Specifies the name of data forwarding rule. The name contains a maximum of 256 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringPtrInput
	// Specifies the region to which the KAFKA belongs.
	Region pulumi.StringPtrInput
	// Specifies the SQL SELECT statement which contains a maximum of 500 characters.
	Select pulumi.StringPtrInput
	// Specifies the resource space ID which uses the data forwarding rule.
	// If omitted, all resource space will use the data forwarding rule. Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
	// Specifies the list of the targets (HUAWEI CLOUD services or private servers) to which you
	// want to forward the data. The targets structure is documented below.
	Targets DataforwardingRuleTargetArrayInput
	// Specifies the trigger event. The options are as follows:
	// + **device:create**: Device added.
	// + **device:delete**: Device deleted.
	// + **device:update**: Device updated.
	// + **device.status:update**: Device status changed.
	// + **device.property:report**: Device property reported.
	// + **device.message:report**: Device message reported.
	// + **device.message.status:update**: Device message status changed.
	// + **batchtask:update**: Batch task status changed.
	// + **product:create**: Product added.
	// + **product:delete**: Product deleted.
	// + **product:update**: Product updated.
	// + **device.command.status:update**: Update of the device asynchronous command status.
	Trigger pulumi.StringPtrInput
	// Specifies the SQL WHERE statement which contains a maximum of 500 characters.
	Where pulumi.StringPtrInput
}

func (DataforwardingRuleState) ElementType

func (DataforwardingRuleState) ElementType() reflect.Type

type DataforwardingRuleTarget

type DataforwardingRuleTarget struct {
	// Specifies the detail of AMQP forwards. It is required when type
	// is `AMQP_FORWARDING`. The amqpForwarding structure is documented below.
	AmqpForwarding *DataforwardingRuleTargetAmqpForwarding `pulumi:"amqpForwarding"`
	// Specifies the detail of the DIS forwards. It is required when type
	// is `DIS_FORWARDING`. The disForwarding structure is documented below.
	DisForwarding *DataforwardingRuleTargetDisForwarding `pulumi:"disForwarding"`
	// Specifies the detail of the HTTP forwards. It is required when type
	// is `HTTP_FORWARDING`. The httpForwarding structure is documented below.
	HttpForwarding *DataforwardingRuleTargetHttpForwarding `pulumi:"httpForwarding"`
	// The resource ID in UUID format.
	Id *string `pulumi:"id"`
	// Specifies the detail of the KAFKA forwards. It is required when type
	// is `DMS_KAFKA_FORWARDING`. The properties structure is documented below.
	KafkaForwarding *DataforwardingRuleTargetKafkaForwarding `pulumi:"kafkaForwarding"`
	// Specifies the detail of the OBS forwards. It is required when type
	// is `OBS_FORWARDING`. The obsForwarding structure is documented below.
	ObsForwarding *DataforwardingRuleTargetObsForwarding `pulumi:"obsForwarding"`
	// Specifies the type of forwarding target. The options are as follows:
	// + **HTTP_FORWARDING**: The platform can push specified device data to a Third-party application (HTTP push).
	//   You can set different addresses that different types of device data are pushed to.
	// + **DIS_FORWARDING**: DIS provides efficient collection, transmission, and distribution of real-time data. It also
	//   provides an abundant selection of APIs to help you quickly create real-time data applications.
	// + **OBS_FORWARDING**: OBS is a stable, secure, cloud storage service that is scalable, efficient and easy-to-use.
	//   It allows you to store any amount of unstructured data in any format, and provides REST APIs so you can access your
	//   data from anywhere.
	// + **AMQP_FORWARDING**: AMQP provides a scalable, distributed message queue that supports high throughput with low
	//   latency. AMQP is ready from the get-go and is O&M free.
	// + **DMS_KAFKA_FORWARDING**: Distributed Message Service (DMS) for Kafka features high throughput, concurrency, and
	//   scalability. It is suitable for real-time data transmission, stream data processing, system decoupling,
	//   and traffic balancing.
	Type string `pulumi:"type"`
}

type DataforwardingRuleTargetAmqpForwarding

type DataforwardingRuleTargetAmqpForwarding struct {
	// Specifies the AMQP Queue name.
	QueueName string `pulumi:"queueName"`
}

type DataforwardingRuleTargetAmqpForwardingArgs

type DataforwardingRuleTargetAmqpForwardingArgs struct {
	// Specifies the AMQP Queue name.
	QueueName pulumi.StringInput `pulumi:"queueName"`
}

func (DataforwardingRuleTargetAmqpForwardingArgs) ElementType

func (DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingOutput

func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingOutput() DataforwardingRuleTargetAmqpForwardingOutput

func (DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingOutputWithContext

func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingOutput

func (DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingPtrOutput

func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingPtrOutput() DataforwardingRuleTargetAmqpForwardingPtrOutput

func (DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext

func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingPtrOutput

type DataforwardingRuleTargetAmqpForwardingInput

type DataforwardingRuleTargetAmqpForwardingInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetAmqpForwardingOutput() DataforwardingRuleTargetAmqpForwardingOutput
	ToDataforwardingRuleTargetAmqpForwardingOutputWithContext(context.Context) DataforwardingRuleTargetAmqpForwardingOutput
}

DataforwardingRuleTargetAmqpForwardingInput is an input type that accepts DataforwardingRuleTargetAmqpForwardingArgs and DataforwardingRuleTargetAmqpForwardingOutput values. You can construct a concrete instance of `DataforwardingRuleTargetAmqpForwardingInput` via:

DataforwardingRuleTargetAmqpForwardingArgs{...}

type DataforwardingRuleTargetAmqpForwardingOutput

type DataforwardingRuleTargetAmqpForwardingOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetAmqpForwardingOutput) ElementType

func (DataforwardingRuleTargetAmqpForwardingOutput) QueueName

Specifies the AMQP Queue name.

func (DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingOutput

func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingOutput() DataforwardingRuleTargetAmqpForwardingOutput

func (DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingOutputWithContext

func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingOutput

func (DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutput

func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutput() DataforwardingRuleTargetAmqpForwardingPtrOutput

func (DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingPtrOutput

type DataforwardingRuleTargetAmqpForwardingPtrInput

type DataforwardingRuleTargetAmqpForwardingPtrInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetAmqpForwardingPtrOutput() DataforwardingRuleTargetAmqpForwardingPtrOutput
	ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext(context.Context) DataforwardingRuleTargetAmqpForwardingPtrOutput
}

DataforwardingRuleTargetAmqpForwardingPtrInput is an input type that accepts DataforwardingRuleTargetAmqpForwardingArgs, DataforwardingRuleTargetAmqpForwardingPtr and DataforwardingRuleTargetAmqpForwardingPtrOutput values. You can construct a concrete instance of `DataforwardingRuleTargetAmqpForwardingPtrInput` via:

        DataforwardingRuleTargetAmqpForwardingArgs{...}

or:

        nil

type DataforwardingRuleTargetAmqpForwardingPtrOutput

type DataforwardingRuleTargetAmqpForwardingPtrOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetAmqpForwardingPtrOutput) Elem

func (DataforwardingRuleTargetAmqpForwardingPtrOutput) ElementType

func (DataforwardingRuleTargetAmqpForwardingPtrOutput) QueueName

Specifies the AMQP Queue name.

func (DataforwardingRuleTargetAmqpForwardingPtrOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutput

func (o DataforwardingRuleTargetAmqpForwardingPtrOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutput() DataforwardingRuleTargetAmqpForwardingPtrOutput

func (DataforwardingRuleTargetAmqpForwardingPtrOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetAmqpForwardingPtrOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingPtrOutput

type DataforwardingRuleTargetArgs

type DataforwardingRuleTargetArgs struct {
	// Specifies the detail of AMQP forwards. It is required when type
	// is `AMQP_FORWARDING`. The amqpForwarding structure is documented below.
	AmqpForwarding DataforwardingRuleTargetAmqpForwardingPtrInput `pulumi:"amqpForwarding"`
	// Specifies the detail of the DIS forwards. It is required when type
	// is `DIS_FORWARDING`. The disForwarding structure is documented below.
	DisForwarding DataforwardingRuleTargetDisForwardingPtrInput `pulumi:"disForwarding"`
	// Specifies the detail of the HTTP forwards. It is required when type
	// is `HTTP_FORWARDING`. The httpForwarding structure is documented below.
	HttpForwarding DataforwardingRuleTargetHttpForwardingPtrInput `pulumi:"httpForwarding"`
	// The resource ID in UUID format.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Specifies the detail of the KAFKA forwards. It is required when type
	// is `DMS_KAFKA_FORWARDING`. The properties structure is documented below.
	KafkaForwarding DataforwardingRuleTargetKafkaForwardingPtrInput `pulumi:"kafkaForwarding"`
	// Specifies the detail of the OBS forwards. It is required when type
	// is `OBS_FORWARDING`. The obsForwarding structure is documented below.
	ObsForwarding DataforwardingRuleTargetObsForwardingPtrInput `pulumi:"obsForwarding"`
	// Specifies the type of forwarding target. The options are as follows:
	// + **HTTP_FORWARDING**: The platform can push specified device data to a Third-party application (HTTP push).
	//   You can set different addresses that different types of device data are pushed to.
	// + **DIS_FORWARDING**: DIS provides efficient collection, transmission, and distribution of real-time data. It also
	//   provides an abundant selection of APIs to help you quickly create real-time data applications.
	// + **OBS_FORWARDING**: OBS is a stable, secure, cloud storage service that is scalable, efficient and easy-to-use.
	//   It allows you to store any amount of unstructured data in any format, and provides REST APIs so you can access your
	//   data from anywhere.
	// + **AMQP_FORWARDING**: AMQP provides a scalable, distributed message queue that supports high throughput with low
	//   latency. AMQP is ready from the get-go and is O&M free.
	// + **DMS_KAFKA_FORWARDING**: Distributed Message Service (DMS) for Kafka features high throughput, concurrency, and
	//   scalability. It is suitable for real-time data transmission, stream data processing, system decoupling,
	//   and traffic balancing.
	Type pulumi.StringInput `pulumi:"type"`
}

func (DataforwardingRuleTargetArgs) ElementType

func (DataforwardingRuleTargetArgs) ToDataforwardingRuleTargetOutput

func (i DataforwardingRuleTargetArgs) ToDataforwardingRuleTargetOutput() DataforwardingRuleTargetOutput

func (DataforwardingRuleTargetArgs) ToDataforwardingRuleTargetOutputWithContext

func (i DataforwardingRuleTargetArgs) ToDataforwardingRuleTargetOutputWithContext(ctx context.Context) DataforwardingRuleTargetOutput

type DataforwardingRuleTargetArray

type DataforwardingRuleTargetArray []DataforwardingRuleTargetInput

func (DataforwardingRuleTargetArray) ElementType

func (DataforwardingRuleTargetArray) ToDataforwardingRuleTargetArrayOutput

func (i DataforwardingRuleTargetArray) ToDataforwardingRuleTargetArrayOutput() DataforwardingRuleTargetArrayOutput

func (DataforwardingRuleTargetArray) ToDataforwardingRuleTargetArrayOutputWithContext

func (i DataforwardingRuleTargetArray) ToDataforwardingRuleTargetArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetArrayOutput

type DataforwardingRuleTargetArrayInput

type DataforwardingRuleTargetArrayInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetArrayOutput() DataforwardingRuleTargetArrayOutput
	ToDataforwardingRuleTargetArrayOutputWithContext(context.Context) DataforwardingRuleTargetArrayOutput
}

DataforwardingRuleTargetArrayInput is an input type that accepts DataforwardingRuleTargetArray and DataforwardingRuleTargetArrayOutput values. You can construct a concrete instance of `DataforwardingRuleTargetArrayInput` via:

DataforwardingRuleTargetArray{ DataforwardingRuleTargetArgs{...} }

type DataforwardingRuleTargetArrayOutput

type DataforwardingRuleTargetArrayOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetArrayOutput) ElementType

func (DataforwardingRuleTargetArrayOutput) Index

func (DataforwardingRuleTargetArrayOutput) ToDataforwardingRuleTargetArrayOutput

func (o DataforwardingRuleTargetArrayOutput) ToDataforwardingRuleTargetArrayOutput() DataforwardingRuleTargetArrayOutput

func (DataforwardingRuleTargetArrayOutput) ToDataforwardingRuleTargetArrayOutputWithContext

func (o DataforwardingRuleTargetArrayOutput) ToDataforwardingRuleTargetArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetArrayOutput

type DataforwardingRuleTargetDisForwarding

type DataforwardingRuleTargetDisForwarding struct {
	// Specifies the project ID to which the KAFKA belongs.
	// If omitted, the default project in the region will be used.
	ProjectId *string `pulumi:"projectId"`
	// Specifies the region to which the KAFKA belongs.
	Region string `pulumi:"region"`
	// Specifies the DIS stream ID.
	StreamId string `pulumi:"streamId"`
}

type DataforwardingRuleTargetDisForwardingArgs

type DataforwardingRuleTargetDisForwardingArgs struct {
	// Specifies the project ID to which the KAFKA belongs.
	// If omitted, the default project in the region will be used.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Specifies the region to which the KAFKA belongs.
	Region pulumi.StringInput `pulumi:"region"`
	// Specifies the DIS stream ID.
	StreamId pulumi.StringInput `pulumi:"streamId"`
}

func (DataforwardingRuleTargetDisForwardingArgs) ElementType

func (DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingOutput

func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingOutput() DataforwardingRuleTargetDisForwardingOutput

func (DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingOutputWithContext

func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingOutput

func (DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingPtrOutput

func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingPtrOutput() DataforwardingRuleTargetDisForwardingPtrOutput

func (DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext

func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingPtrOutput

type DataforwardingRuleTargetDisForwardingInput

type DataforwardingRuleTargetDisForwardingInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetDisForwardingOutput() DataforwardingRuleTargetDisForwardingOutput
	ToDataforwardingRuleTargetDisForwardingOutputWithContext(context.Context) DataforwardingRuleTargetDisForwardingOutput
}

DataforwardingRuleTargetDisForwardingInput is an input type that accepts DataforwardingRuleTargetDisForwardingArgs and DataforwardingRuleTargetDisForwardingOutput values. You can construct a concrete instance of `DataforwardingRuleTargetDisForwardingInput` via:

DataforwardingRuleTargetDisForwardingArgs{...}

type DataforwardingRuleTargetDisForwardingOutput

type DataforwardingRuleTargetDisForwardingOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetDisForwardingOutput) ElementType

func (DataforwardingRuleTargetDisForwardingOutput) ProjectId

Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.

func (DataforwardingRuleTargetDisForwardingOutput) Region

Specifies the region to which the KAFKA belongs.

func (DataforwardingRuleTargetDisForwardingOutput) StreamId

Specifies the DIS stream ID.

func (DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingOutput

func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingOutput() DataforwardingRuleTargetDisForwardingOutput

func (DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingOutputWithContext

func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingOutput

func (DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingPtrOutput

func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingPtrOutput() DataforwardingRuleTargetDisForwardingPtrOutput

func (DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingPtrOutput

type DataforwardingRuleTargetDisForwardingPtrInput

type DataforwardingRuleTargetDisForwardingPtrInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetDisForwardingPtrOutput() DataforwardingRuleTargetDisForwardingPtrOutput
	ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext(context.Context) DataforwardingRuleTargetDisForwardingPtrOutput
}

DataforwardingRuleTargetDisForwardingPtrInput is an input type that accepts DataforwardingRuleTargetDisForwardingArgs, DataforwardingRuleTargetDisForwardingPtr and DataforwardingRuleTargetDisForwardingPtrOutput values. You can construct a concrete instance of `DataforwardingRuleTargetDisForwardingPtrInput` via:

        DataforwardingRuleTargetDisForwardingArgs{...}

or:

        nil

type DataforwardingRuleTargetDisForwardingPtrOutput

type DataforwardingRuleTargetDisForwardingPtrOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetDisForwardingPtrOutput) Elem

func (DataforwardingRuleTargetDisForwardingPtrOutput) ElementType

func (DataforwardingRuleTargetDisForwardingPtrOutput) ProjectId

Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.

func (DataforwardingRuleTargetDisForwardingPtrOutput) Region

Specifies the region to which the KAFKA belongs.

func (DataforwardingRuleTargetDisForwardingPtrOutput) StreamId

Specifies the DIS stream ID.

func (DataforwardingRuleTargetDisForwardingPtrOutput) ToDataforwardingRuleTargetDisForwardingPtrOutput

func (o DataforwardingRuleTargetDisForwardingPtrOutput) ToDataforwardingRuleTargetDisForwardingPtrOutput() DataforwardingRuleTargetDisForwardingPtrOutput

func (DataforwardingRuleTargetDisForwardingPtrOutput) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetDisForwardingPtrOutput) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingPtrOutput

type DataforwardingRuleTargetHttpForwarding

type DataforwardingRuleTargetHttpForwarding struct {
	// Specifies the Push URL. The request method must is post.
	Url string `pulumi:"url"`
}

type DataforwardingRuleTargetHttpForwardingArgs

type DataforwardingRuleTargetHttpForwardingArgs struct {
	// Specifies the Push URL. The request method must is post.
	Url pulumi.StringInput `pulumi:"url"`
}

func (DataforwardingRuleTargetHttpForwardingArgs) ElementType

func (DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingOutput

func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingOutput() DataforwardingRuleTargetHttpForwardingOutput

func (DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingOutputWithContext

func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingOutput

func (DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingPtrOutput

func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput

func (DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext

func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput

type DataforwardingRuleTargetHttpForwardingInput

type DataforwardingRuleTargetHttpForwardingInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetHttpForwardingOutput() DataforwardingRuleTargetHttpForwardingOutput
	ToDataforwardingRuleTargetHttpForwardingOutputWithContext(context.Context) DataforwardingRuleTargetHttpForwardingOutput
}

DataforwardingRuleTargetHttpForwardingInput is an input type that accepts DataforwardingRuleTargetHttpForwardingArgs and DataforwardingRuleTargetHttpForwardingOutput values. You can construct a concrete instance of `DataforwardingRuleTargetHttpForwardingInput` via:

DataforwardingRuleTargetHttpForwardingArgs{...}

type DataforwardingRuleTargetHttpForwardingOutput

type DataforwardingRuleTargetHttpForwardingOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetHttpForwardingOutput) ElementType

func (DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingOutput

func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingOutput() DataforwardingRuleTargetHttpForwardingOutput

func (DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingOutputWithContext

func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingOutput

func (DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput

func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput

func (DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput

func (DataforwardingRuleTargetHttpForwardingOutput) Url

Specifies the Push URL. The request method must is post.

type DataforwardingRuleTargetHttpForwardingPtrInput

type DataforwardingRuleTargetHttpForwardingPtrInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput
	ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput
}

DataforwardingRuleTargetHttpForwardingPtrInput is an input type that accepts DataforwardingRuleTargetHttpForwardingArgs, DataforwardingRuleTargetHttpForwardingPtr and DataforwardingRuleTargetHttpForwardingPtrOutput values. You can construct a concrete instance of `DataforwardingRuleTargetHttpForwardingPtrInput` via:

        DataforwardingRuleTargetHttpForwardingArgs{...}

or:

        nil

type DataforwardingRuleTargetHttpForwardingPtrOutput

type DataforwardingRuleTargetHttpForwardingPtrOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetHttpForwardingPtrOutput) Elem

func (DataforwardingRuleTargetHttpForwardingPtrOutput) ElementType

func (DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput

func (o DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput

func (DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput

func (DataforwardingRuleTargetHttpForwardingPtrOutput) Url

Specifies the Push URL. The request method must is post.

type DataforwardingRuleTargetInput

type DataforwardingRuleTargetInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetOutput() DataforwardingRuleTargetOutput
	ToDataforwardingRuleTargetOutputWithContext(context.Context) DataforwardingRuleTargetOutput
}

DataforwardingRuleTargetInput is an input type that accepts DataforwardingRuleTargetArgs and DataforwardingRuleTargetOutput values. You can construct a concrete instance of `DataforwardingRuleTargetInput` via:

DataforwardingRuleTargetArgs{...}

type DataforwardingRuleTargetKafkaForwarding

type DataforwardingRuleTargetKafkaForwarding struct {
	// Specifies the list of the connected service addresses.
	// The addresses structure is documented below.
	Addresses []DataforwardingRuleTargetKafkaForwardingAddress `pulumi:"addresses"`
	// Specifies the password.
	Password *string `pulumi:"password"`
	// Specifies the project ID to which the KAFKA belongs.
	// If omitted, the default project in the region will be used.
	ProjectId *string `pulumi:"projectId"`
	// Specifies the region to which the KAFKA belongs.
	Region string `pulumi:"region"`
	// Specifies the topic.
	Topic string `pulumi:"topic"`
	// Specifies the SASL user name.
	UserName *string `pulumi:"userName"`
}

type DataforwardingRuleTargetKafkaForwardingAddress

type DataforwardingRuleTargetKafkaForwardingAddress struct {
	// Specifies the domain of the connected service address.
	// Exactly one of `ip` or `domain` must be provided.
	Domain *string `pulumi:"domain"`
	// Specifies the IP of the connected service address.
	// Exactly one of `ip` or `domain` must be provided.
	Ip *string `pulumi:"ip"`
	// Specifies the port of the connected service address.
	Port int `pulumi:"port"`
}

type DataforwardingRuleTargetKafkaForwardingAddressArgs

type DataforwardingRuleTargetKafkaForwardingAddressArgs struct {
	// Specifies the domain of the connected service address.
	// Exactly one of `ip` or `domain` must be provided.
	Domain pulumi.StringPtrInput `pulumi:"domain"`
	// Specifies the IP of the connected service address.
	// Exactly one of `ip` or `domain` must be provided.
	Ip pulumi.StringPtrInput `pulumi:"ip"`
	// Specifies the port of the connected service address.
	Port pulumi.IntInput `pulumi:"port"`
}

func (DataforwardingRuleTargetKafkaForwardingAddressArgs) ElementType

func (DataforwardingRuleTargetKafkaForwardingAddressArgs) ToDataforwardingRuleTargetKafkaForwardingAddressOutput

func (i DataforwardingRuleTargetKafkaForwardingAddressArgs) ToDataforwardingRuleTargetKafkaForwardingAddressOutput() DataforwardingRuleTargetKafkaForwardingAddressOutput

func (DataforwardingRuleTargetKafkaForwardingAddressArgs) ToDataforwardingRuleTargetKafkaForwardingAddressOutputWithContext

func (i DataforwardingRuleTargetKafkaForwardingAddressArgs) ToDataforwardingRuleTargetKafkaForwardingAddressOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressOutput

type DataforwardingRuleTargetKafkaForwardingAddressArray

type DataforwardingRuleTargetKafkaForwardingAddressArray []DataforwardingRuleTargetKafkaForwardingAddressInput

func (DataforwardingRuleTargetKafkaForwardingAddressArray) ElementType

func (DataforwardingRuleTargetKafkaForwardingAddressArray) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput

func (i DataforwardingRuleTargetKafkaForwardingAddressArray) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput

func (DataforwardingRuleTargetKafkaForwardingAddressArray) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutputWithContext

func (i DataforwardingRuleTargetKafkaForwardingAddressArray) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressArrayOutput

type DataforwardingRuleTargetKafkaForwardingAddressArrayInput

type DataforwardingRuleTargetKafkaForwardingAddressArrayInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
	ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutputWithContext(context.Context) DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
}

DataforwardingRuleTargetKafkaForwardingAddressArrayInput is an input type that accepts DataforwardingRuleTargetKafkaForwardingAddressArray and DataforwardingRuleTargetKafkaForwardingAddressArrayOutput values. You can construct a concrete instance of `DataforwardingRuleTargetKafkaForwardingAddressArrayInput` via:

DataforwardingRuleTargetKafkaForwardingAddressArray{ DataforwardingRuleTargetKafkaForwardingAddressArgs{...} }

type DataforwardingRuleTargetKafkaForwardingAddressArrayOutput

type DataforwardingRuleTargetKafkaForwardingAddressArrayOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ElementType

func (DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) Index

func (DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput

func (DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutputWithContext

func (o DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressArrayOutput

type DataforwardingRuleTargetKafkaForwardingAddressInput

type DataforwardingRuleTargetKafkaForwardingAddressInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetKafkaForwardingAddressOutput() DataforwardingRuleTargetKafkaForwardingAddressOutput
	ToDataforwardingRuleTargetKafkaForwardingAddressOutputWithContext(context.Context) DataforwardingRuleTargetKafkaForwardingAddressOutput
}

DataforwardingRuleTargetKafkaForwardingAddressInput is an input type that accepts DataforwardingRuleTargetKafkaForwardingAddressArgs and DataforwardingRuleTargetKafkaForwardingAddressOutput values. You can construct a concrete instance of `DataforwardingRuleTargetKafkaForwardingAddressInput` via:

DataforwardingRuleTargetKafkaForwardingAddressArgs{...}

type DataforwardingRuleTargetKafkaForwardingAddressOutput

type DataforwardingRuleTargetKafkaForwardingAddressOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetKafkaForwardingAddressOutput) Domain

Specifies the domain of the connected service address. Exactly one of `ip` or `domain` must be provided.

func (DataforwardingRuleTargetKafkaForwardingAddressOutput) ElementType

func (DataforwardingRuleTargetKafkaForwardingAddressOutput) Ip

Specifies the IP of the connected service address. Exactly one of `ip` or `domain` must be provided.

func (DataforwardingRuleTargetKafkaForwardingAddressOutput) Port

Specifies the port of the connected service address.

func (DataforwardingRuleTargetKafkaForwardingAddressOutput) ToDataforwardingRuleTargetKafkaForwardingAddressOutput

func (DataforwardingRuleTargetKafkaForwardingAddressOutput) ToDataforwardingRuleTargetKafkaForwardingAddressOutputWithContext

func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) ToDataforwardingRuleTargetKafkaForwardingAddressOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressOutput

type DataforwardingRuleTargetKafkaForwardingArgs

type DataforwardingRuleTargetKafkaForwardingArgs struct {
	// Specifies the list of the connected service addresses.
	// The addresses structure is documented below.
	Addresses DataforwardingRuleTargetKafkaForwardingAddressArrayInput `pulumi:"addresses"`
	// Specifies the password.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Specifies the project ID to which the KAFKA belongs.
	// If omitted, the default project in the region will be used.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Specifies the region to which the KAFKA belongs.
	Region pulumi.StringInput `pulumi:"region"`
	// Specifies the topic.
	Topic pulumi.StringInput `pulumi:"topic"`
	// Specifies the SASL user name.
	UserName pulumi.StringPtrInput `pulumi:"userName"`
}

func (DataforwardingRuleTargetKafkaForwardingArgs) ElementType

func (DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingOutput

func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingOutput() DataforwardingRuleTargetKafkaForwardingOutput

func (DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingOutputWithContext

func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingOutput

func (DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingPtrOutput

func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingPtrOutput() DataforwardingRuleTargetKafkaForwardingPtrOutput

func (DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext

func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingPtrOutput

type DataforwardingRuleTargetKafkaForwardingInput

type DataforwardingRuleTargetKafkaForwardingInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetKafkaForwardingOutput() DataforwardingRuleTargetKafkaForwardingOutput
	ToDataforwardingRuleTargetKafkaForwardingOutputWithContext(context.Context) DataforwardingRuleTargetKafkaForwardingOutput
}

DataforwardingRuleTargetKafkaForwardingInput is an input type that accepts DataforwardingRuleTargetKafkaForwardingArgs and DataforwardingRuleTargetKafkaForwardingOutput values. You can construct a concrete instance of `DataforwardingRuleTargetKafkaForwardingInput` via:

DataforwardingRuleTargetKafkaForwardingArgs{...}

type DataforwardingRuleTargetKafkaForwardingOutput

type DataforwardingRuleTargetKafkaForwardingOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetKafkaForwardingOutput) Addresses

Specifies the list of the connected service addresses. The addresses structure is documented below.

func (DataforwardingRuleTargetKafkaForwardingOutput) ElementType

func (DataforwardingRuleTargetKafkaForwardingOutput) Password

Specifies the password.

func (DataforwardingRuleTargetKafkaForwardingOutput) ProjectId

Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.

func (DataforwardingRuleTargetKafkaForwardingOutput) Region

Specifies the region to which the KAFKA belongs.

func (DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingOutput

func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingOutput() DataforwardingRuleTargetKafkaForwardingOutput

func (DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingOutputWithContext

func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingOutput

func (DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutput

func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutput() DataforwardingRuleTargetKafkaForwardingPtrOutput

func (DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingPtrOutput

func (DataforwardingRuleTargetKafkaForwardingOutput) Topic

Specifies the topic.

func (DataforwardingRuleTargetKafkaForwardingOutput) UserName

Specifies the SASL user name.

type DataforwardingRuleTargetKafkaForwardingPtrInput

type DataforwardingRuleTargetKafkaForwardingPtrInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetKafkaForwardingPtrOutput() DataforwardingRuleTargetKafkaForwardingPtrOutput
	ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext(context.Context) DataforwardingRuleTargetKafkaForwardingPtrOutput
}

DataforwardingRuleTargetKafkaForwardingPtrInput is an input type that accepts DataforwardingRuleTargetKafkaForwardingArgs, DataforwardingRuleTargetKafkaForwardingPtr and DataforwardingRuleTargetKafkaForwardingPtrOutput values. You can construct a concrete instance of `DataforwardingRuleTargetKafkaForwardingPtrInput` via:

        DataforwardingRuleTargetKafkaForwardingArgs{...}

or:

        nil

type DataforwardingRuleTargetKafkaForwardingPtrOutput

type DataforwardingRuleTargetKafkaForwardingPtrOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Addresses

Specifies the list of the connected service addresses. The addresses structure is documented below.

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Elem

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ElementType

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Password

Specifies the password.

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ProjectId

Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Region

Specifies the region to which the KAFKA belongs.

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutput

func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutput() DataforwardingRuleTargetKafkaForwardingPtrOutput

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingPtrOutput

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Topic

Specifies the topic.

func (DataforwardingRuleTargetKafkaForwardingPtrOutput) UserName

Specifies the SASL user name.

type DataforwardingRuleTargetObsForwarding

type DataforwardingRuleTargetObsForwarding struct {
	// Specifies the OBS Bucket.
	Bucket string `pulumi:"bucket"`
	// Specifies the custom directory for storing channel files. The ID contains a
	// maximum of 256 characters. Multi-level directories can be separated by (/), and cannot start or end with a slash (/),
	// and cannot contain more than two adjacent slashes (/). Only letters, digits, hyphens (-), underscores (_), slash (/)
	// and braces ({}) are allowed. Braces can be used only for the time template parameters. For example, if the custom
	// directory is in the format of {YYYY}/{MM}/{DD}/{HH}, data is generated in the directory based on the current
	// time(for example, 2022/06/14/10) when data is forwarded.
	CustomDirectory *string `pulumi:"customDirectory"`
	// Specifies the project ID to which the KAFKA belongs.
	// If omitted, the default project in the region will be used.
	ProjectId *string `pulumi:"projectId"`
	// Specifies the region to which the KAFKA belongs.
	Region string `pulumi:"region"`
}

type DataforwardingRuleTargetObsForwardingArgs

type DataforwardingRuleTargetObsForwardingArgs struct {
	// Specifies the OBS Bucket.
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// Specifies the custom directory for storing channel files. The ID contains a
	// maximum of 256 characters. Multi-level directories can be separated by (/), and cannot start or end with a slash (/),
	// and cannot contain more than two adjacent slashes (/). Only letters, digits, hyphens (-), underscores (_), slash (/)
	// and braces ({}) are allowed. Braces can be used only for the time template parameters. For example, if the custom
	// directory is in the format of {YYYY}/{MM}/{DD}/{HH}, data is generated in the directory based on the current
	// time(for example, 2022/06/14/10) when data is forwarded.
	CustomDirectory pulumi.StringPtrInput `pulumi:"customDirectory"`
	// Specifies the project ID to which the KAFKA belongs.
	// If omitted, the default project in the region will be used.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Specifies the region to which the KAFKA belongs.
	Region pulumi.StringInput `pulumi:"region"`
}

func (DataforwardingRuleTargetObsForwardingArgs) ElementType

func (DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingOutput

func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingOutput() DataforwardingRuleTargetObsForwardingOutput

func (DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingOutputWithContext

func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingOutput

func (DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingPtrOutput

func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingPtrOutput() DataforwardingRuleTargetObsForwardingPtrOutput

func (DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext

func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingPtrOutput

type DataforwardingRuleTargetObsForwardingInput

type DataforwardingRuleTargetObsForwardingInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetObsForwardingOutput() DataforwardingRuleTargetObsForwardingOutput
	ToDataforwardingRuleTargetObsForwardingOutputWithContext(context.Context) DataforwardingRuleTargetObsForwardingOutput
}

DataforwardingRuleTargetObsForwardingInput is an input type that accepts DataforwardingRuleTargetObsForwardingArgs and DataforwardingRuleTargetObsForwardingOutput values. You can construct a concrete instance of `DataforwardingRuleTargetObsForwardingInput` via:

DataforwardingRuleTargetObsForwardingArgs{...}

type DataforwardingRuleTargetObsForwardingOutput

type DataforwardingRuleTargetObsForwardingOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetObsForwardingOutput) Bucket

Specifies the OBS Bucket.

func (DataforwardingRuleTargetObsForwardingOutput) CustomDirectory

Specifies the custom directory for storing channel files. The ID contains a maximum of 256 characters. Multi-level directories can be separated by (/), and cannot start or end with a slash (/), and cannot contain more than two adjacent slashes (/). Only letters, digits, hyphens (-), underscores (_), slash (/) and braces ({}) are allowed. Braces can be used only for the time template parameters. For example, if the custom directory is in the format of {YYYY}/{MM}/{DD}/{HH}, data is generated in the directory based on the current time(for example, 2022/06/14/10) when data is forwarded.

func (DataforwardingRuleTargetObsForwardingOutput) ElementType

func (DataforwardingRuleTargetObsForwardingOutput) ProjectId

Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.

func (DataforwardingRuleTargetObsForwardingOutput) Region

Specifies the region to which the KAFKA belongs.

func (DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingOutput

func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingOutput() DataforwardingRuleTargetObsForwardingOutput

func (DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingOutputWithContext

func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingOutput

func (DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingPtrOutput

func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingPtrOutput() DataforwardingRuleTargetObsForwardingPtrOutput

func (DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingPtrOutput

type DataforwardingRuleTargetObsForwardingPtrInput

type DataforwardingRuleTargetObsForwardingPtrInput interface {
	pulumi.Input

	ToDataforwardingRuleTargetObsForwardingPtrOutput() DataforwardingRuleTargetObsForwardingPtrOutput
	ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext(context.Context) DataforwardingRuleTargetObsForwardingPtrOutput
}

DataforwardingRuleTargetObsForwardingPtrInput is an input type that accepts DataforwardingRuleTargetObsForwardingArgs, DataforwardingRuleTargetObsForwardingPtr and DataforwardingRuleTargetObsForwardingPtrOutput values. You can construct a concrete instance of `DataforwardingRuleTargetObsForwardingPtrInput` via:

        DataforwardingRuleTargetObsForwardingArgs{...}

or:

        nil

type DataforwardingRuleTargetObsForwardingPtrOutput

type DataforwardingRuleTargetObsForwardingPtrOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetObsForwardingPtrOutput) Bucket

Specifies the OBS Bucket.

func (DataforwardingRuleTargetObsForwardingPtrOutput) CustomDirectory

Specifies the custom directory for storing channel files. The ID contains a maximum of 256 characters. Multi-level directories can be separated by (/), and cannot start or end with a slash (/), and cannot contain more than two adjacent slashes (/). Only letters, digits, hyphens (-), underscores (_), slash (/) and braces ({}) are allowed. Braces can be used only for the time template parameters. For example, if the custom directory is in the format of {YYYY}/{MM}/{DD}/{HH}, data is generated in the directory based on the current time(for example, 2022/06/14/10) when data is forwarded.

func (DataforwardingRuleTargetObsForwardingPtrOutput) Elem

func (DataforwardingRuleTargetObsForwardingPtrOutput) ElementType

func (DataforwardingRuleTargetObsForwardingPtrOutput) ProjectId

Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.

func (DataforwardingRuleTargetObsForwardingPtrOutput) Region

Specifies the region to which the KAFKA belongs.

func (DataforwardingRuleTargetObsForwardingPtrOutput) ToDataforwardingRuleTargetObsForwardingPtrOutput

func (o DataforwardingRuleTargetObsForwardingPtrOutput) ToDataforwardingRuleTargetObsForwardingPtrOutput() DataforwardingRuleTargetObsForwardingPtrOutput

func (DataforwardingRuleTargetObsForwardingPtrOutput) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext

func (o DataforwardingRuleTargetObsForwardingPtrOutput) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingPtrOutput

type DataforwardingRuleTargetOutput

type DataforwardingRuleTargetOutput struct{ *pulumi.OutputState }

func (DataforwardingRuleTargetOutput) AmqpForwarding

Specifies the detail of AMQP forwards. It is required when type is `AMQP_FORWARDING`. The amqpForwarding structure is documented below.

func (DataforwardingRuleTargetOutput) DisForwarding

Specifies the detail of the DIS forwards. It is required when type is `DIS_FORWARDING`. The disForwarding structure is documented below.

func (DataforwardingRuleTargetOutput) ElementType

func (DataforwardingRuleTargetOutput) HttpForwarding

Specifies the detail of the HTTP forwards. It is required when type is `HTTP_FORWARDING`. The httpForwarding structure is documented below.

func (DataforwardingRuleTargetOutput) Id

The resource ID in UUID format.

func (DataforwardingRuleTargetOutput) KafkaForwarding

Specifies the detail of the KAFKA forwards. It is required when type is `DMS_KAFKA_FORWARDING`. The properties structure is documented below.

func (DataforwardingRuleTargetOutput) ObsForwarding

Specifies the detail of the OBS forwards. It is required when type is `OBS_FORWARDING`. The obsForwarding structure is documented below.

func (DataforwardingRuleTargetOutput) ToDataforwardingRuleTargetOutput

func (o DataforwardingRuleTargetOutput) ToDataforwardingRuleTargetOutput() DataforwardingRuleTargetOutput

func (DataforwardingRuleTargetOutput) ToDataforwardingRuleTargetOutputWithContext

func (o DataforwardingRuleTargetOutput) ToDataforwardingRuleTargetOutputWithContext(ctx context.Context) DataforwardingRuleTargetOutput

func (DataforwardingRuleTargetOutput) Type

Specifies the type of forwarding target. The options are as follows:

  • **HTTP_FORWARDING**: The platform can push specified device data to a Third-party application (HTTP push). You can set different addresses that different types of device data are pushed to.
  • **DIS_FORWARDING**: DIS provides efficient collection, transmission, and distribution of real-time data. It also provides an abundant selection of APIs to help you quickly create real-time data applications.
  • **OBS_FORWARDING**: OBS is a stable, secure, cloud storage service that is scalable, efficient and easy-to-use. It allows you to store any amount of unstructured data in any format, and provides REST APIs so you can access your data from anywhere.
  • **AMQP_FORWARDING**: AMQP provides a scalable, distributed message queue that supports high throughput with low latency. AMQP is ready from the get-go and is O&M free.
  • **DMS_KAFKA_FORWARDING**: Distributed Message Service (DMS) for Kafka features high throughput, concurrency, and scalability. It is suitable for real-time data transmission, stream data processing, system decoupling, and traffic balancing.

type Device

type Device struct {
	pulumi.CustomResourceState

	// The authentication type of device. The options are as follows:
	// + **SECRET**: Use a secret for identity authentication.
	// + **CERTIFICATES**: Use an x.509 certificate for identity authentication.
	AuthType pulumi.StringOutput `pulumi:"authType"`
	// Specifies the description of device. The description contains a maximum of 2048
	// characters. Only letters, Chinese characters, digits, hyphens (-), underscore (_) and the following special characters
	// are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the device ID, which contains 4 to 256 characters.
	// Only letters, digits, hyphens (-) and underscore (_) are allowed. If omitted, the platform will automatically allocate
	// a device ID. Changing this parameter will create a new resource.
	DeviceId pulumi.StringOutput `pulumi:"deviceId"`
	// Specifies a fingerprint of X.509 certificate for identity authentication,
	// which is a 40-digit or 64-digit hexadecimal string. For more detail, please see
	// [Registering a Device Authenticated by an X.509 Certificate](https://support.huaweicloud.com/en-us/usermanual-iothub/iot_01_0055.html).
	Fingerprint pulumi.StringOutput `pulumi:"fingerprint"`
	// Specifies whether to freeze the device. Defaults to `false`.
	Frozen pulumi.BoolOutput `pulumi:"frozen"`
	// Specifies the gateway ID which is the device ID of the parent device.
	// The child device is not directly connected to the platform. If omitted, it means to create a device directly connected
	// to the platform, the `deviceId` of the device is the same as the `gatewayId`.
	GatewayId pulumi.StringOutput `pulumi:"gatewayId"`
	// Specifies the device name, which contains 4 to 256 characters. Only letters,
	// Chinese characters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the node ID, which contains 4 to 256 characters.
	// The node ID can be IMEI, MAC address, or serial number. Changing this parameter will create a new resource.
	NodeId pulumi.StringOutput `pulumi:"nodeId"`
	// The node type of device. The options are as follows:
	// + **GATEWAY**: Directly connected device.
	// + **ENDPOINT**: Indirectly connected device.
	// + **UNKNOWN**: Unknown type.
	NodeType pulumi.StringOutput `pulumi:"nodeType"`
	// Specifies the product ID which the device belongs to.
	// Changing this parameter will create a new resource.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// Specifies the region in which to create the IoTDA device resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies a secret for identity authentication, which contains 8 to 32 characters.
	// Only letters, digits, hyphens (-) and underscore (_) are allowed.
	Secret pulumi.StringOutput `pulumi:"secret"`
	// Specifies the resource space ID which the device belongs to.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringOutput `pulumi:"spaceId"`
	// The status of device. The valid values are **INACTIVE**, **ONLINE**, **OFFLINE**, **FROZEN**, **ABNORMAL**.
	Status pulumi.StringOutput `pulumi:"status"`
	// Specifies the key/value pairs to associate with the device.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an IoTDA device within HuaweiCloud.

## Example Usage ### Create a directly connected device and an indirectly connected device

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		spaceId := cfg.RequireObject("spaceId")
		productId := cfg.RequireObject("productId")
		secret := cfg.RequireObject("secret")
		device, err := IoTDA.NewDevice(ctx, "device", &IoTDA.DeviceArgs{
			NodeId:    pulumi.String("device_SN_1"),
			SpaceId:   pulumi.Any(spaceId),
			ProductId: pulumi.Any(productId),
			Secret:    pulumi.Any(secret),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		_, err = IoTDA.NewDevice(ctx, "subDevice", &IoTDA.DeviceArgs{
			NodeId:    pulumi.String("device_SN_2"),
			SpaceId:   pulumi.Any(spaceId),
			ProductId: pulumi.Any(productId),
			GatewayId: device.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Devices can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/device:Device test 10022532f4f94f26b01daa1e424853e1

```

func GetDevice

func GetDevice(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceState, opts ...pulumi.ResourceOption) (*Device, error)

GetDevice gets an existing Device 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 NewDevice

func NewDevice(ctx *pulumi.Context,
	name string, args *DeviceArgs, opts ...pulumi.ResourceOption) (*Device, error)

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

func (*Device) ElementType

func (*Device) ElementType() reflect.Type

func (*Device) ToDeviceOutput

func (i *Device) ToDeviceOutput() DeviceOutput

func (*Device) ToDeviceOutputWithContext

func (i *Device) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput

type DeviceArgs

type DeviceArgs struct {
	// Specifies the description of device. The description contains a maximum of 2048
	// characters. Only letters, Chinese characters, digits, hyphens (-), underscore (_) and the following special characters
	// are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput
	// Specifies the device ID, which contains 4 to 256 characters.
	// Only letters, digits, hyphens (-) and underscore (_) are allowed. If omitted, the platform will automatically allocate
	// a device ID. Changing this parameter will create a new resource.
	DeviceId pulumi.StringPtrInput
	// Specifies a fingerprint of X.509 certificate for identity authentication,
	// which is a 40-digit or 64-digit hexadecimal string. For more detail, please see
	// [Registering a Device Authenticated by an X.509 Certificate](https://support.huaweicloud.com/en-us/usermanual-iothub/iot_01_0055.html).
	Fingerprint pulumi.StringPtrInput
	// Specifies whether to freeze the device. Defaults to `false`.
	Frozen pulumi.BoolPtrInput
	// Specifies the gateway ID which is the device ID of the parent device.
	// The child device is not directly connected to the platform. If omitted, it means to create a device directly connected
	// to the platform, the `deviceId` of the device is the same as the `gatewayId`.
	GatewayId pulumi.StringPtrInput
	// Specifies the device name, which contains 4 to 256 characters. Only letters,
	// Chinese characters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.
	Name pulumi.StringPtrInput
	// Specifies the node ID, which contains 4 to 256 characters.
	// The node ID can be IMEI, MAC address, or serial number. Changing this parameter will create a new resource.
	NodeId pulumi.StringInput
	// Specifies the product ID which the device belongs to.
	// Changing this parameter will create a new resource.
	ProductId pulumi.StringInput
	// Specifies the region in which to create the IoTDA device resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies a secret for identity authentication, which contains 8 to 32 characters.
	// Only letters, digits, hyphens (-) and underscore (_) are allowed.
	Secret pulumi.StringPtrInput
	// Specifies the resource space ID which the device belongs to.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringInput
	// Specifies the key/value pairs to associate with the device.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Device resource.

func (DeviceArgs) ElementType

func (DeviceArgs) ElementType() reflect.Type

type DeviceArray

type DeviceArray []DeviceInput

func (DeviceArray) ElementType

func (DeviceArray) ElementType() reflect.Type

func (DeviceArray) ToDeviceArrayOutput

func (i DeviceArray) ToDeviceArrayOutput() DeviceArrayOutput

func (DeviceArray) ToDeviceArrayOutputWithContext

func (i DeviceArray) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput

type DeviceArrayInput

type DeviceArrayInput interface {
	pulumi.Input

	ToDeviceArrayOutput() DeviceArrayOutput
	ToDeviceArrayOutputWithContext(context.Context) DeviceArrayOutput
}

DeviceArrayInput is an input type that accepts DeviceArray and DeviceArrayOutput values. You can construct a concrete instance of `DeviceArrayInput` via:

DeviceArray{ DeviceArgs{...} }

type DeviceArrayOutput

type DeviceArrayOutput struct{ *pulumi.OutputState }

func (DeviceArrayOutput) ElementType

func (DeviceArrayOutput) ElementType() reflect.Type

func (DeviceArrayOutput) Index

func (DeviceArrayOutput) ToDeviceArrayOutput

func (o DeviceArrayOutput) ToDeviceArrayOutput() DeviceArrayOutput

func (DeviceArrayOutput) ToDeviceArrayOutputWithContext

func (o DeviceArrayOutput) ToDeviceArrayOutputWithContext(ctx context.Context) DeviceArrayOutput

type DeviceCertificate

type DeviceCertificate struct {
	pulumi.CustomResourceState

	// The CN name of the device CA certificate.
	Cn pulumi.StringOutput `pulumi:"cn"`
	// Specifies the content of device CA certificate.
	// Changing this parameter will create a new resource. Create a private CA certificate,
	// please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0104.html)
	Content pulumi.StringOutput `pulumi:"content"`
	// The effective date of the device CA certificate.
	// The format is: **yyyyMMdd'T'HHmmss'Z'**, e.g., **20151212T121212Z**.
	EffectiveDate pulumi.StringOutput `pulumi:"effectiveDate"`
	// The expiry date of the device CA certificate.
	// The format is: **yyyyMMdd'T'HHmmss'Z'**, e.g., **20151212T121212Z**.
	ExpiryDate pulumi.StringOutput `pulumi:"expiryDate"`
	// The owner of the device CA certificate.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// Specifies the region in which to create the IoTDA device CA certificate
	// resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the resource space ID to which the device CA certificate belongs.
	// If omitted, the certificate will belong to the default resource space.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrOutput `pulumi:"spaceId"`
	// The status of the device CA certificate. The valid values are **Unverified** and **Verified**.
	Status pulumi.StringOutput `pulumi:"status"`
	// The verify code of the device CA certificate.
	VerifyCode pulumi.StringOutput `pulumi:"verifyCode"`
	// Specifies the content of verification certificate. Can only be used to verify
	// the validity of the device CA certificate after creation. Get the verification certificate,
	// please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0106.html)
	VerifyContent pulumi.StringPtrOutput `pulumi:"verifyContent"`
}

Manages an IoTDA device CA certificate within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		certificateContent := cfg.RequireObject("certificateContent")
		_, err := IoTDA.NewDeviceCertificate(ctx, "test", &IoTDA.DeviceCertificateArgs{
			Content: pulumi.Any(certificateContent),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Device CA certificates can be imported by `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/deviceCertificate:DeviceCertificate test 62b3cec5558d4b703f064534

```

Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`content`, `space_id`, `verify_content`. It is generally recommended running `terraform plan` after importing the resource. You can then decide if changes should be applied to the resource, or the resource definition should be updated to align with the group. Also you can ignore changes as below. resource "huaweicloud_iotda_device_certificate" "test" {

...

lifecycle {

ignore_changes = [

content, space_id, verify_content

]

} }

func GetDeviceCertificate

func GetDeviceCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceCertificateState, opts ...pulumi.ResourceOption) (*DeviceCertificate, error)

GetDeviceCertificate gets an existing DeviceCertificate 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 NewDeviceCertificate

func NewDeviceCertificate(ctx *pulumi.Context,
	name string, args *DeviceCertificateArgs, opts ...pulumi.ResourceOption) (*DeviceCertificate, error)

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

func (*DeviceCertificate) ElementType

func (*DeviceCertificate) ElementType() reflect.Type

func (*DeviceCertificate) ToDeviceCertificateOutput

func (i *DeviceCertificate) ToDeviceCertificateOutput() DeviceCertificateOutput

func (*DeviceCertificate) ToDeviceCertificateOutputWithContext

func (i *DeviceCertificate) ToDeviceCertificateOutputWithContext(ctx context.Context) DeviceCertificateOutput

type DeviceCertificateArgs

type DeviceCertificateArgs struct {
	// Specifies the content of device CA certificate.
	// Changing this parameter will create a new resource. Create a private CA certificate,
	// please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0104.html)
	Content pulumi.StringInput
	// Specifies the region in which to create the IoTDA device CA certificate
	// resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies the resource space ID to which the device CA certificate belongs.
	// If omitted, the certificate will belong to the default resource space.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
	// Specifies the content of verification certificate. Can only be used to verify
	// the validity of the device CA certificate after creation. Get the verification certificate,
	// please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0106.html)
	VerifyContent pulumi.StringPtrInput
}

The set of arguments for constructing a DeviceCertificate resource.

func (DeviceCertificateArgs) ElementType

func (DeviceCertificateArgs) ElementType() reflect.Type

type DeviceCertificateArray

type DeviceCertificateArray []DeviceCertificateInput

func (DeviceCertificateArray) ElementType

func (DeviceCertificateArray) ElementType() reflect.Type

func (DeviceCertificateArray) ToDeviceCertificateArrayOutput

func (i DeviceCertificateArray) ToDeviceCertificateArrayOutput() DeviceCertificateArrayOutput

func (DeviceCertificateArray) ToDeviceCertificateArrayOutputWithContext

func (i DeviceCertificateArray) ToDeviceCertificateArrayOutputWithContext(ctx context.Context) DeviceCertificateArrayOutput

type DeviceCertificateArrayInput

type DeviceCertificateArrayInput interface {
	pulumi.Input

	ToDeviceCertificateArrayOutput() DeviceCertificateArrayOutput
	ToDeviceCertificateArrayOutputWithContext(context.Context) DeviceCertificateArrayOutput
}

DeviceCertificateArrayInput is an input type that accepts DeviceCertificateArray and DeviceCertificateArrayOutput values. You can construct a concrete instance of `DeviceCertificateArrayInput` via:

DeviceCertificateArray{ DeviceCertificateArgs{...} }

type DeviceCertificateArrayOutput

type DeviceCertificateArrayOutput struct{ *pulumi.OutputState }

func (DeviceCertificateArrayOutput) ElementType

func (DeviceCertificateArrayOutput) Index

func (DeviceCertificateArrayOutput) ToDeviceCertificateArrayOutput

func (o DeviceCertificateArrayOutput) ToDeviceCertificateArrayOutput() DeviceCertificateArrayOutput

func (DeviceCertificateArrayOutput) ToDeviceCertificateArrayOutputWithContext

func (o DeviceCertificateArrayOutput) ToDeviceCertificateArrayOutputWithContext(ctx context.Context) DeviceCertificateArrayOutput

type DeviceCertificateInput

type DeviceCertificateInput interface {
	pulumi.Input

	ToDeviceCertificateOutput() DeviceCertificateOutput
	ToDeviceCertificateOutputWithContext(ctx context.Context) DeviceCertificateOutput
}

type DeviceCertificateMap

type DeviceCertificateMap map[string]DeviceCertificateInput

func (DeviceCertificateMap) ElementType

func (DeviceCertificateMap) ElementType() reflect.Type

func (DeviceCertificateMap) ToDeviceCertificateMapOutput

func (i DeviceCertificateMap) ToDeviceCertificateMapOutput() DeviceCertificateMapOutput

func (DeviceCertificateMap) ToDeviceCertificateMapOutputWithContext

func (i DeviceCertificateMap) ToDeviceCertificateMapOutputWithContext(ctx context.Context) DeviceCertificateMapOutput

type DeviceCertificateMapInput

type DeviceCertificateMapInput interface {
	pulumi.Input

	ToDeviceCertificateMapOutput() DeviceCertificateMapOutput
	ToDeviceCertificateMapOutputWithContext(context.Context) DeviceCertificateMapOutput
}

DeviceCertificateMapInput is an input type that accepts DeviceCertificateMap and DeviceCertificateMapOutput values. You can construct a concrete instance of `DeviceCertificateMapInput` via:

DeviceCertificateMap{ "key": DeviceCertificateArgs{...} }

type DeviceCertificateMapOutput

type DeviceCertificateMapOutput struct{ *pulumi.OutputState }

func (DeviceCertificateMapOutput) ElementType

func (DeviceCertificateMapOutput) ElementType() reflect.Type

func (DeviceCertificateMapOutput) MapIndex

func (DeviceCertificateMapOutput) ToDeviceCertificateMapOutput

func (o DeviceCertificateMapOutput) ToDeviceCertificateMapOutput() DeviceCertificateMapOutput

func (DeviceCertificateMapOutput) ToDeviceCertificateMapOutputWithContext

func (o DeviceCertificateMapOutput) ToDeviceCertificateMapOutputWithContext(ctx context.Context) DeviceCertificateMapOutput

type DeviceCertificateOutput

type DeviceCertificateOutput struct{ *pulumi.OutputState }

func (DeviceCertificateOutput) Cn

The CN name of the device CA certificate.

func (DeviceCertificateOutput) Content

Specifies the content of device CA certificate. Changing this parameter will create a new resource. Create a private CA certificate, please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0104.html)

func (DeviceCertificateOutput) EffectiveDate

func (o DeviceCertificateOutput) EffectiveDate() pulumi.StringOutput

The effective date of the device CA certificate. The format is: **yyyyMMdd'T'HHmmss'Z'**, e.g., **20151212T121212Z**.

func (DeviceCertificateOutput) ElementType

func (DeviceCertificateOutput) ElementType() reflect.Type

func (DeviceCertificateOutput) ExpiryDate

The expiry date of the device CA certificate. The format is: **yyyyMMdd'T'HHmmss'Z'**, e.g., **20151212T121212Z**.

func (DeviceCertificateOutput) Owner

The owner of the device CA certificate.

func (DeviceCertificateOutput) Region

Specifies the region in which to create the IoTDA device CA certificate resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

func (DeviceCertificateOutput) SpaceId

Specifies the resource space ID to which the device CA certificate belongs. If omitted, the certificate will belong to the default resource space. Changing this parameter will create a new resource.

func (DeviceCertificateOutput) Status

The status of the device CA certificate. The valid values are **Unverified** and **Verified**.

func (DeviceCertificateOutput) ToDeviceCertificateOutput

func (o DeviceCertificateOutput) ToDeviceCertificateOutput() DeviceCertificateOutput

func (DeviceCertificateOutput) ToDeviceCertificateOutputWithContext

func (o DeviceCertificateOutput) ToDeviceCertificateOutputWithContext(ctx context.Context) DeviceCertificateOutput

func (DeviceCertificateOutput) VerifyCode

The verify code of the device CA certificate.

func (DeviceCertificateOutput) VerifyContent

Specifies the content of verification certificate. Can only be used to verify the validity of the device CA certificate after creation. Get the verification certificate, please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0106.html)

type DeviceCertificateState

type DeviceCertificateState struct {
	// The CN name of the device CA certificate.
	Cn pulumi.StringPtrInput
	// Specifies the content of device CA certificate.
	// Changing this parameter will create a new resource. Create a private CA certificate,
	// please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0104.html)
	Content pulumi.StringPtrInput
	// The effective date of the device CA certificate.
	// The format is: **yyyyMMdd'T'HHmmss'Z'**, e.g., **20151212T121212Z**.
	EffectiveDate pulumi.StringPtrInput
	// The expiry date of the device CA certificate.
	// The format is: **yyyyMMdd'T'HHmmss'Z'**, e.g., **20151212T121212Z**.
	ExpiryDate pulumi.StringPtrInput
	// The owner of the device CA certificate.
	Owner pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA device CA certificate
	// resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies the resource space ID to which the device CA certificate belongs.
	// If omitted, the certificate will belong to the default resource space.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
	// The status of the device CA certificate. The valid values are **Unverified** and **Verified**.
	Status pulumi.StringPtrInput
	// The verify code of the device CA certificate.
	VerifyCode pulumi.StringPtrInput
	// Specifies the content of verification certificate. Can only be used to verify
	// the validity of the device CA certificate after creation. Get the verification certificate,
	// please following [reference](https://support.huaweicloud.com/usermanual-iothub/iot_01_0106.html)
	VerifyContent pulumi.StringPtrInput
}

func (DeviceCertificateState) ElementType

func (DeviceCertificateState) ElementType() reflect.Type

type DeviceGroup

type DeviceGroup struct {
	pulumi.CustomResourceState

	// Specifies the description of device group. The description contains a maximum of 64
	// characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters
	// are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the list of device IDs bound to the group.
	DeviceIds pulumi.StringArrayOutput `pulumi:"deviceIds"`
	// Specifies the name of device group. The name contains a maximum of 64 characters.
	// Only letters, digits, hyphens (-) and underscores (_) are allowed.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the parent group id.
	// Changing this parameter will create a new resource.
	ParentGroupId pulumi.StringOutput `pulumi:"parentGroupId"`
	// Specifies the region in which to create the IoTDA device group resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the resource space ID to which the device group belongs.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringOutput `pulumi:"spaceId"`
}

Manages an IoTDA device group within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		spaceId := cfg.RequireObject("spaceId")
		deviceId := cfg.RequireObject("deviceId")
		_, err := IoTDA.NewDeviceGroup(ctx, "group", &IoTDA.DeviceGroupArgs{
			SpaceId: pulumi.Any(spaceId),
			DeviceIds: pulumi.StringArray{
				pulumi.Any(deviceId),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Groups can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/deviceGroup:DeviceGroup test 10022532f4f94f26b01daa1e424853e1

```

Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`space_id`. It is generally recommended running `terraform plan` after importing the resource. You can then decide if changes should be applied to the resource, or the resource definition should be updated to align with the group. Also you can ignore changes as below. resource "huaweicloud_iotda_device_group" "test" {

...

lifecycle {

ignore_changes = [

space_id,

]

} }

func GetDeviceGroup

func GetDeviceGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceGroupState, opts ...pulumi.ResourceOption) (*DeviceGroup, error)

GetDeviceGroup gets an existing DeviceGroup 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 NewDeviceGroup

func NewDeviceGroup(ctx *pulumi.Context,
	name string, args *DeviceGroupArgs, opts ...pulumi.ResourceOption) (*DeviceGroup, error)

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

func (*DeviceGroup) ElementType

func (*DeviceGroup) ElementType() reflect.Type

func (*DeviceGroup) ToDeviceGroupOutput

func (i *DeviceGroup) ToDeviceGroupOutput() DeviceGroupOutput

func (*DeviceGroup) ToDeviceGroupOutputWithContext

func (i *DeviceGroup) ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput

type DeviceGroupArgs

type DeviceGroupArgs struct {
	// Specifies the description of device group. The description contains a maximum of 64
	// characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters
	// are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput
	// Specifies the list of device IDs bound to the group.
	DeviceIds pulumi.StringArrayInput
	// Specifies the name of device group. The name contains a maximum of 64 characters.
	// Only letters, digits, hyphens (-) and underscores (_) are allowed.
	Name pulumi.StringPtrInput
	// Specifies the parent group id.
	// Changing this parameter will create a new resource.
	ParentGroupId pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA device group resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies the resource space ID to which the device group belongs.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringInput
}

The set of arguments for constructing a DeviceGroup resource.

func (DeviceGroupArgs) ElementType

func (DeviceGroupArgs) ElementType() reflect.Type

type DeviceGroupArray

type DeviceGroupArray []DeviceGroupInput

func (DeviceGroupArray) ElementType

func (DeviceGroupArray) ElementType() reflect.Type

func (DeviceGroupArray) ToDeviceGroupArrayOutput

func (i DeviceGroupArray) ToDeviceGroupArrayOutput() DeviceGroupArrayOutput

func (DeviceGroupArray) ToDeviceGroupArrayOutputWithContext

func (i DeviceGroupArray) ToDeviceGroupArrayOutputWithContext(ctx context.Context) DeviceGroupArrayOutput

type DeviceGroupArrayInput

type DeviceGroupArrayInput interface {
	pulumi.Input

	ToDeviceGroupArrayOutput() DeviceGroupArrayOutput
	ToDeviceGroupArrayOutputWithContext(context.Context) DeviceGroupArrayOutput
}

DeviceGroupArrayInput is an input type that accepts DeviceGroupArray and DeviceGroupArrayOutput values. You can construct a concrete instance of `DeviceGroupArrayInput` via:

DeviceGroupArray{ DeviceGroupArgs{...} }

type DeviceGroupArrayOutput

type DeviceGroupArrayOutput struct{ *pulumi.OutputState }

func (DeviceGroupArrayOutput) ElementType

func (DeviceGroupArrayOutput) ElementType() reflect.Type

func (DeviceGroupArrayOutput) Index

func (DeviceGroupArrayOutput) ToDeviceGroupArrayOutput

func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutput() DeviceGroupArrayOutput

func (DeviceGroupArrayOutput) ToDeviceGroupArrayOutputWithContext

func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutputWithContext(ctx context.Context) DeviceGroupArrayOutput

type DeviceGroupInput

type DeviceGroupInput interface {
	pulumi.Input

	ToDeviceGroupOutput() DeviceGroupOutput
	ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput
}

type DeviceGroupMap

type DeviceGroupMap map[string]DeviceGroupInput

func (DeviceGroupMap) ElementType

func (DeviceGroupMap) ElementType() reflect.Type

func (DeviceGroupMap) ToDeviceGroupMapOutput

func (i DeviceGroupMap) ToDeviceGroupMapOutput() DeviceGroupMapOutput

func (DeviceGroupMap) ToDeviceGroupMapOutputWithContext

func (i DeviceGroupMap) ToDeviceGroupMapOutputWithContext(ctx context.Context) DeviceGroupMapOutput

type DeviceGroupMapInput

type DeviceGroupMapInput interface {
	pulumi.Input

	ToDeviceGroupMapOutput() DeviceGroupMapOutput
	ToDeviceGroupMapOutputWithContext(context.Context) DeviceGroupMapOutput
}

DeviceGroupMapInput is an input type that accepts DeviceGroupMap and DeviceGroupMapOutput values. You can construct a concrete instance of `DeviceGroupMapInput` via:

DeviceGroupMap{ "key": DeviceGroupArgs{...} }

type DeviceGroupMapOutput

type DeviceGroupMapOutput struct{ *pulumi.OutputState }

func (DeviceGroupMapOutput) ElementType

func (DeviceGroupMapOutput) ElementType() reflect.Type

func (DeviceGroupMapOutput) MapIndex

func (DeviceGroupMapOutput) ToDeviceGroupMapOutput

func (o DeviceGroupMapOutput) ToDeviceGroupMapOutput() DeviceGroupMapOutput

func (DeviceGroupMapOutput) ToDeviceGroupMapOutputWithContext

func (o DeviceGroupMapOutput) ToDeviceGroupMapOutputWithContext(ctx context.Context) DeviceGroupMapOutput

type DeviceGroupOutput

type DeviceGroupOutput struct{ *pulumi.OutputState }

func (DeviceGroupOutput) Description

func (o DeviceGroupOutput) Description() pulumi.StringPtrOutput

Specifies the description of device group. The description contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (DeviceGroupOutput) DeviceIds

Specifies the list of device IDs bound to the group.

func (DeviceGroupOutput) ElementType

func (DeviceGroupOutput) ElementType() reflect.Type

func (DeviceGroupOutput) Name

Specifies the name of device group. The name contains a maximum of 64 characters. Only letters, digits, hyphens (-) and underscores (_) are allowed.

func (DeviceGroupOutput) ParentGroupId

func (o DeviceGroupOutput) ParentGroupId() pulumi.StringOutput

Specifies the parent group id. Changing this parameter will create a new resource.

func (DeviceGroupOutput) Region

Specifies the region in which to create the IoTDA device group resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

func (DeviceGroupOutput) SpaceId

Specifies the resource space ID to which the device group belongs. Changing this parameter will create a new resource.

func (DeviceGroupOutput) ToDeviceGroupOutput

func (o DeviceGroupOutput) ToDeviceGroupOutput() DeviceGroupOutput

func (DeviceGroupOutput) ToDeviceGroupOutputWithContext

func (o DeviceGroupOutput) ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput

type DeviceGroupState

type DeviceGroupState struct {
	// Specifies the description of device group. The description contains a maximum of 64
	// characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters
	// are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput
	// Specifies the list of device IDs bound to the group.
	DeviceIds pulumi.StringArrayInput
	// Specifies the name of device group. The name contains a maximum of 64 characters.
	// Only letters, digits, hyphens (-) and underscores (_) are allowed.
	Name pulumi.StringPtrInput
	// Specifies the parent group id.
	// Changing this parameter will create a new resource.
	ParentGroupId pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA device group resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies the resource space ID to which the device group belongs.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
}

func (DeviceGroupState) ElementType

func (DeviceGroupState) ElementType() reflect.Type

type DeviceInput

type DeviceInput interface {
	pulumi.Input

	ToDeviceOutput() DeviceOutput
	ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
}

type DeviceLinkageRule

type DeviceLinkageRule struct {
	pulumi.CustomResourceState

	// Specifies the list of the actions, at most 10 actions.
	// The actions structure is documented below.
	Actions DeviceLinkageRuleActionArrayOutput `pulumi:"actions"`
	// Specifies the description of the alarm.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the effective period of the device linkage rule. Always effectives
	// by default. The effectivePeriod structure is documented below.
	EffectivePeriod DeviceLinkageRuleEffectivePeriodPtrOutput `pulumi:"effectivePeriod"`
	// Specifies whether to enable the device linkage rule. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Specifies the name of the alarm.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the region to which the SMN belongs.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the resource space ID to which the device linkage rule belongs.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringOutput `pulumi:"spaceId"`
	// Specifies the logical relationship between multiple triggers.
	// The options are as follows:
	// + **and**: All of the triggers are met.
	// + **or**: Any of the triggers are met.
	TriggerLogic pulumi.StringPtrOutput `pulumi:"triggerLogic"`
	// Specifies the list of the triggers, at most 10 triggers.
	// The triggers structure is documented below.
	Triggers DeviceLinkageRuleTriggerArrayOutput `pulumi:"triggers"`
}

Manages an IoTDA device linkage rule within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Smn"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		spaceId := cfg.RequireObject("spaceId")
		triggerDeviceId := cfg.RequireObject("triggerDeviceId")
		actionDeviceId := cfg.RequireObject("actionDeviceId")
		topic, err := Smn.NewTopic(ctx, "topic", nil)
		if err != nil {
			return err
		}
		_, err = IoTDA.NewDeviceLinkageRule(ctx, "test", &IoTDA.DeviceLinkageRuleArgs{
			SpaceId: pulumi.Any(spaceId),
			Triggers: iotda.DeviceLinkageRuleTriggerArray{
				&iotda.DeviceLinkageRuleTriggerArgs{
					Type: pulumi.String("SIMPLE_TIMER"),
					SimpleTimerCondition: &iotda.DeviceLinkageRuleTriggerSimpleTimerConditionArgs{
						StartTime:      pulumi.String("20220622T160000Z"),
						RepeatInterval: pulumi.Int(2),
						RepeatCount:    pulumi.Int(2),
					},
				},
				&iotda.DeviceLinkageRuleTriggerArgs{
					Type: pulumi.String("DEVICE_DATA"),
					DeviceDataCondition: &iotda.DeviceLinkageRuleTriggerDeviceDataConditionArgs{
						DeviceId:            pulumi.Any(triggerDeviceId),
						Path:                pulumi.String("service_id/propertyName_1"),
						Operator:            pulumi.String("="),
						Value:               pulumi.String("5"),
						TriggerStrategy:     pulumi.String("pulse"),
						DataValidatiyPeriod: pulumi.Int(300),
					},
				},
				&iotda.DeviceLinkageRuleTriggerArgs{
					Type: pulumi.String("DAILY_TIMER"),
					DailyTimerCondition: &iotda.DeviceLinkageRuleTriggerDailyTimerConditionArgs{
						StartTime: pulumi.String("19:02"),
					},
				},
			},
			Actions: iotda.DeviceLinkageRuleActionArray{
				&iotda.DeviceLinkageRuleActionArgs{
					Type: pulumi.String("SMN_FORWARDING"),
					SmnForwarding: &iotda.DeviceLinkageRuleActionSmnForwardingArgs{
						Region:         topic.Region,
						TopicName:      topic.Name,
						TopicUrn:       topic.TopicUrn,
						MessageTitle:   pulumi.String("message_title"),
						MessageContent: pulumi.String("message_content"),
					},
				},
				&iotda.DeviceLinkageRuleActionArgs{
					Type: pulumi.String("DEVICE_CMD"),
					DeviceCommand: &iotda.DeviceLinkageRuleActionDeviceCommandArgs{
						DeviceId:    pulumi.Any(actionDeviceId),
						ServiceId:   pulumi.String("service_id"),
						CommandName: pulumi.String("cmd_name"),
						CommandBody: pulumi.String("{\"cmd_parameter_1\":\"3\"}"),
					},
				},
			},
			EffectivePeriod: &iotda.DeviceLinkageRuleEffectivePeriodArgs{
				StartTime:  pulumi.String("00:00"),
				EndTime:    pulumi.String("23:59"),
				DaysOfWeek: pulumi.String("1,2,3"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Device linkage rules can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/deviceLinkageRule:DeviceLinkageRule test 62b6cc5aa367f403fea86127

```

func GetDeviceLinkageRule

func GetDeviceLinkageRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeviceLinkageRuleState, opts ...pulumi.ResourceOption) (*DeviceLinkageRule, error)

GetDeviceLinkageRule gets an existing DeviceLinkageRule 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 NewDeviceLinkageRule

func NewDeviceLinkageRule(ctx *pulumi.Context,
	name string, args *DeviceLinkageRuleArgs, opts ...pulumi.ResourceOption) (*DeviceLinkageRule, error)

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

func (*DeviceLinkageRule) ElementType

func (*DeviceLinkageRule) ElementType() reflect.Type

func (*DeviceLinkageRule) ToDeviceLinkageRuleOutput

func (i *DeviceLinkageRule) ToDeviceLinkageRuleOutput() DeviceLinkageRuleOutput

func (*DeviceLinkageRule) ToDeviceLinkageRuleOutputWithContext

func (i *DeviceLinkageRule) ToDeviceLinkageRuleOutputWithContext(ctx context.Context) DeviceLinkageRuleOutput

type DeviceLinkageRuleAction

type DeviceLinkageRuleAction struct {
	// Specifies the detail of device alarm. It is required when type
	// is `DEVICE_ALARM`. The deviceAlarm structure is documented below.
	DeviceAlarm *DeviceLinkageRuleActionDeviceAlarm `pulumi:"deviceAlarm"`
	// Specifies the detail of device command. It is required when type
	// is `DEVICE_CMD`. The deviceCommand structure is documented below.
	DeviceCommand *DeviceLinkageRuleActionDeviceCommand `pulumi:"deviceCommand"`
	// Specifies the detail of SMN notifications. It is required when type
	// is `SMN_FORWARDING`. The smnForwarding structure is documented below.
	SmnForwarding *DeviceLinkageRuleActionSmnForwarding `pulumi:"smnForwarding"`
	// Specifies the type of the alarm. The options are as follows:
	// + **fault**: Report alarms.
	// + **recovery**: Clear alarms.
	Type string `pulumi:"type"`
}

type DeviceLinkageRuleActionArgs

type DeviceLinkageRuleActionArgs struct {
	// Specifies the detail of device alarm. It is required when type
	// is `DEVICE_ALARM`. The deviceAlarm structure is documented below.
	DeviceAlarm DeviceLinkageRuleActionDeviceAlarmPtrInput `pulumi:"deviceAlarm"`
	// Specifies the detail of device command. It is required when type
	// is `DEVICE_CMD`. The deviceCommand structure is documented below.
	DeviceCommand DeviceLinkageRuleActionDeviceCommandPtrInput `pulumi:"deviceCommand"`
	// Specifies the detail of SMN notifications. It is required when type
	// is `SMN_FORWARDING`. The smnForwarding structure is documented below.
	SmnForwarding DeviceLinkageRuleActionSmnForwardingPtrInput `pulumi:"smnForwarding"`
	// Specifies the type of the alarm. The options are as follows:
	// + **fault**: Report alarms.
	// + **recovery**: Clear alarms.
	Type pulumi.StringInput `pulumi:"type"`
}

func (DeviceLinkageRuleActionArgs) ElementType

func (DeviceLinkageRuleActionArgs) ToDeviceLinkageRuleActionOutput

func (i DeviceLinkageRuleActionArgs) ToDeviceLinkageRuleActionOutput() DeviceLinkageRuleActionOutput

func (DeviceLinkageRuleActionArgs) ToDeviceLinkageRuleActionOutputWithContext

func (i DeviceLinkageRuleActionArgs) ToDeviceLinkageRuleActionOutputWithContext(ctx context.Context) DeviceLinkageRuleActionOutput

type DeviceLinkageRuleActionArray

type DeviceLinkageRuleActionArray []DeviceLinkageRuleActionInput

func (DeviceLinkageRuleActionArray) ElementType

func (DeviceLinkageRuleActionArray) ToDeviceLinkageRuleActionArrayOutput

func (i DeviceLinkageRuleActionArray) ToDeviceLinkageRuleActionArrayOutput() DeviceLinkageRuleActionArrayOutput

func (DeviceLinkageRuleActionArray) ToDeviceLinkageRuleActionArrayOutputWithContext

func (i DeviceLinkageRuleActionArray) ToDeviceLinkageRuleActionArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleActionArrayOutput

type DeviceLinkageRuleActionArrayInput

type DeviceLinkageRuleActionArrayInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionArrayOutput() DeviceLinkageRuleActionArrayOutput
	ToDeviceLinkageRuleActionArrayOutputWithContext(context.Context) DeviceLinkageRuleActionArrayOutput
}

DeviceLinkageRuleActionArrayInput is an input type that accepts DeviceLinkageRuleActionArray and DeviceLinkageRuleActionArrayOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionArrayInput` via:

DeviceLinkageRuleActionArray{ DeviceLinkageRuleActionArgs{...} }

type DeviceLinkageRuleActionArrayOutput

type DeviceLinkageRuleActionArrayOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionArrayOutput) ElementType

func (DeviceLinkageRuleActionArrayOutput) Index

func (DeviceLinkageRuleActionArrayOutput) ToDeviceLinkageRuleActionArrayOutput

func (o DeviceLinkageRuleActionArrayOutput) ToDeviceLinkageRuleActionArrayOutput() DeviceLinkageRuleActionArrayOutput

func (DeviceLinkageRuleActionArrayOutput) ToDeviceLinkageRuleActionArrayOutputWithContext

func (o DeviceLinkageRuleActionArrayOutput) ToDeviceLinkageRuleActionArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleActionArrayOutput

type DeviceLinkageRuleActionDeviceAlarm

type DeviceLinkageRuleActionDeviceAlarm struct {
	// Specifies the description of the alarm.
	Description *string `pulumi:"description"`
	// Specifies the name of the alarm.
	Name string `pulumi:"name"`
	// Specifies the severity level of the alarm.
	// The valid values are **warning**, **minor**, **major** and **critical**.
	Severity string `pulumi:"severity"`
	// Specifies the type of the alarm. The options are as follows:
	// + **fault**: Report alarms.
	// + **recovery**: Clear alarms.
	Type string `pulumi:"type"`
}

type DeviceLinkageRuleActionDeviceAlarmArgs

type DeviceLinkageRuleActionDeviceAlarmArgs struct {
	// Specifies the description of the alarm.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Specifies the name of the alarm.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the severity level of the alarm.
	// The valid values are **warning**, **minor**, **major** and **critical**.
	Severity pulumi.StringInput `pulumi:"severity"`
	// Specifies the type of the alarm. The options are as follows:
	// + **fault**: Report alarms.
	// + **recovery**: Clear alarms.
	Type pulumi.StringInput `pulumi:"type"`
}

func (DeviceLinkageRuleActionDeviceAlarmArgs) ElementType

func (DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmOutput

func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmOutput() DeviceLinkageRuleActionDeviceAlarmOutput

func (DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmOutputWithContext

func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmOutput

func (DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput

func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput() DeviceLinkageRuleActionDeviceAlarmPtrOutput

func (DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext

func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmPtrOutput

type DeviceLinkageRuleActionDeviceAlarmInput

type DeviceLinkageRuleActionDeviceAlarmInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionDeviceAlarmOutput() DeviceLinkageRuleActionDeviceAlarmOutput
	ToDeviceLinkageRuleActionDeviceAlarmOutputWithContext(context.Context) DeviceLinkageRuleActionDeviceAlarmOutput
}

DeviceLinkageRuleActionDeviceAlarmInput is an input type that accepts DeviceLinkageRuleActionDeviceAlarmArgs and DeviceLinkageRuleActionDeviceAlarmOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionDeviceAlarmInput` via:

DeviceLinkageRuleActionDeviceAlarmArgs{...}

type DeviceLinkageRuleActionDeviceAlarmOutput

type DeviceLinkageRuleActionDeviceAlarmOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionDeviceAlarmOutput) Description

Specifies the description of the alarm.

func (DeviceLinkageRuleActionDeviceAlarmOutput) ElementType

func (DeviceLinkageRuleActionDeviceAlarmOutput) Name

Specifies the name of the alarm.

func (DeviceLinkageRuleActionDeviceAlarmOutput) Severity

Specifies the severity level of the alarm. The valid values are **warning**, **minor**, **major** and **critical**.

func (DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmOutput

func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmOutput() DeviceLinkageRuleActionDeviceAlarmOutput

func (DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmOutputWithContext

func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmOutput

func (DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput

func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput() DeviceLinkageRuleActionDeviceAlarmPtrOutput

func (DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext

func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmPtrOutput

func (DeviceLinkageRuleActionDeviceAlarmOutput) Type

Specifies the type of the alarm. The options are as follows: + **fault**: Report alarms. + **recovery**: Clear alarms.

type DeviceLinkageRuleActionDeviceAlarmPtrInput

type DeviceLinkageRuleActionDeviceAlarmPtrInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionDeviceAlarmPtrOutput() DeviceLinkageRuleActionDeviceAlarmPtrOutput
	ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext(context.Context) DeviceLinkageRuleActionDeviceAlarmPtrOutput
}

DeviceLinkageRuleActionDeviceAlarmPtrInput is an input type that accepts DeviceLinkageRuleActionDeviceAlarmArgs, DeviceLinkageRuleActionDeviceAlarmPtr and DeviceLinkageRuleActionDeviceAlarmPtrOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionDeviceAlarmPtrInput` via:

        DeviceLinkageRuleActionDeviceAlarmArgs{...}

or:

        nil

type DeviceLinkageRuleActionDeviceAlarmPtrOutput

type DeviceLinkageRuleActionDeviceAlarmPtrOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Description

Specifies the description of the alarm.

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Elem

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) ElementType

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Name

Specifies the name of the alarm.

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Severity

Specifies the severity level of the alarm. The valid values are **warning**, **minor**, **major** and **critical**.

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput

func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput() DeviceLinkageRuleActionDeviceAlarmPtrOutput

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext

func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmPtrOutput

func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Type

Specifies the type of the alarm. The options are as follows: + **fault**: Report alarms. + **recovery**: Clear alarms.

type DeviceLinkageRuleActionDeviceCommand

type DeviceLinkageRuleActionDeviceCommand struct {
	// Specifies the command parameters, in json format.
	// + Example of device command using LWM2M protocol: `{"value":"1"}`, there are key-value pairs, each key is the
	//   parameter name of the command in the product model.
	// + Example of device command using MQTT protocol: `{"header": {"mode": "ACK","from": "/users/testUser","method":
	//   "SET_TEMPERATURE_READ_PERIOD","to":"/devices/{device_id }/services/{service_id}"},"body": {"value" : "1"}}`.
	// - **mode**: Required, whether the device needs to reply to the confirmation message after receiving the command.
	//   The default is ACK mode. `ACK` indicates that the confirmation message needs to be replied,
	//   `NOACK` indicates that the confirmation message does not need to be replied.
	// - **from**: Optional, the address of the command sender.
	//   When the App initiates a request, the format is /users/{userId},
	//   when the application server initiates a request, the format is /{serviceName},
	//   and when the IoT platform initiates a request, the format is /cloud/{serviceName}.
	// - **to**: optional, the address of the command receiver, the format is /devices/{device_id}/services/{service_id}.
	// - **method**: optional, the command name defined in the product model.
	// - **body**: optional, the message body of the command, which contains key-value pairs, each key is the parameter
	//   name of the command in the product model. The specific format requires application and device conventions.
	CommandBody string `pulumi:"commandBody"`
	// Specifies the command name.
	CommandName string `pulumi:"commandName"`
	// Specifies the device id which excutes the command.
	DeviceId string `pulumi:"deviceId"`
	// Specifies the service id to which the command belongs.
	ServiceId string `pulumi:"serviceId"`
}

type DeviceLinkageRuleActionDeviceCommandArgs

type DeviceLinkageRuleActionDeviceCommandArgs struct {
	// Specifies the command parameters, in json format.
	// + Example of device command using LWM2M protocol: `{"value":"1"}`, there are key-value pairs, each key is the
	//   parameter name of the command in the product model.
	// + Example of device command using MQTT protocol: `{"header": {"mode": "ACK","from": "/users/testUser","method":
	//   "SET_TEMPERATURE_READ_PERIOD","to":"/devices/{device_id }/services/{service_id}"},"body": {"value" : "1"}}`.
	// - **mode**: Required, whether the device needs to reply to the confirmation message after receiving the command.
	//   The default is ACK mode. `ACK` indicates that the confirmation message needs to be replied,
	//   `NOACK` indicates that the confirmation message does not need to be replied.
	// - **from**: Optional, the address of the command sender.
	//   When the App initiates a request, the format is /users/{userId},
	//   when the application server initiates a request, the format is /{serviceName},
	//   and when the IoT platform initiates a request, the format is /cloud/{serviceName}.
	// - **to**: optional, the address of the command receiver, the format is /devices/{device_id}/services/{service_id}.
	// - **method**: optional, the command name defined in the product model.
	// - **body**: optional, the message body of the command, which contains key-value pairs, each key is the parameter
	//   name of the command in the product model. The specific format requires application and device conventions.
	CommandBody pulumi.StringInput `pulumi:"commandBody"`
	// Specifies the command name.
	CommandName pulumi.StringInput `pulumi:"commandName"`
	// Specifies the device id which excutes the command.
	DeviceId pulumi.StringInput `pulumi:"deviceId"`
	// Specifies the service id to which the command belongs.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
}

func (DeviceLinkageRuleActionDeviceCommandArgs) ElementType

func (DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandOutput

func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandOutput() DeviceLinkageRuleActionDeviceCommandOutput

func (DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandOutputWithContext

func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandOutput

func (DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandPtrOutput

func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandPtrOutput() DeviceLinkageRuleActionDeviceCommandPtrOutput

func (DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext

func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandPtrOutput

type DeviceLinkageRuleActionDeviceCommandInput

type DeviceLinkageRuleActionDeviceCommandInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionDeviceCommandOutput() DeviceLinkageRuleActionDeviceCommandOutput
	ToDeviceLinkageRuleActionDeviceCommandOutputWithContext(context.Context) DeviceLinkageRuleActionDeviceCommandOutput
}

DeviceLinkageRuleActionDeviceCommandInput is an input type that accepts DeviceLinkageRuleActionDeviceCommandArgs and DeviceLinkageRuleActionDeviceCommandOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionDeviceCommandInput` via:

DeviceLinkageRuleActionDeviceCommandArgs{...}

type DeviceLinkageRuleActionDeviceCommandOutput

type DeviceLinkageRuleActionDeviceCommandOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionDeviceCommandOutput) CommandBody

Specifies the command parameters, in json format.

  • Example of device command using LWM2M protocol: `{"value":"1"}`, there are key-value pairs, each key is the parameter name of the command in the product model.
  • Example of device command using MQTT protocol: `{"header": {"mode": "ACK","from": "/users/testUser","method": "SET_TEMPERATURE_READ_PERIOD","to":"/devices/{device_id }/services/{service_id}"},"body": {"value" : "1"}}`.
  • **mode**: Required, whether the device needs to reply to the confirmation message after receiving the command. The default is ACK mode. `ACK` indicates that the confirmation message needs to be replied, `NOACK` indicates that the confirmation message does not need to be replied.
  • **from**: Optional, the address of the command sender. When the App initiates a request, the format is /users/{userId}, when the application server initiates a request, the format is /{serviceName}, and when the IoT platform initiates a request, the format is /cloud/{serviceName}.
  • **to**: optional, the address of the command receiver, the format is /devices/{device_id}/services/{service_id}.
  • **method**: optional, the command name defined in the product model.
  • **body**: optional, the message body of the command, which contains key-value pairs, each key is the parameter name of the command in the product model. The specific format requires application and device conventions.

func (DeviceLinkageRuleActionDeviceCommandOutput) CommandName

Specifies the command name.

func (DeviceLinkageRuleActionDeviceCommandOutput) DeviceId

Specifies the device id which excutes the command.

func (DeviceLinkageRuleActionDeviceCommandOutput) ElementType

func (DeviceLinkageRuleActionDeviceCommandOutput) ServiceId

Specifies the service id to which the command belongs.

func (DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandOutput

func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandOutput() DeviceLinkageRuleActionDeviceCommandOutput

func (DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandOutputWithContext

func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandOutput

func (DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutput

func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutput() DeviceLinkageRuleActionDeviceCommandPtrOutput

func (DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext

func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandPtrOutput

type DeviceLinkageRuleActionDeviceCommandPtrInput

type DeviceLinkageRuleActionDeviceCommandPtrInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionDeviceCommandPtrOutput() DeviceLinkageRuleActionDeviceCommandPtrOutput
	ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext(context.Context) DeviceLinkageRuleActionDeviceCommandPtrOutput
}

DeviceLinkageRuleActionDeviceCommandPtrInput is an input type that accepts DeviceLinkageRuleActionDeviceCommandArgs, DeviceLinkageRuleActionDeviceCommandPtr and DeviceLinkageRuleActionDeviceCommandPtrOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionDeviceCommandPtrInput` via:

        DeviceLinkageRuleActionDeviceCommandArgs{...}

or:

        nil

type DeviceLinkageRuleActionDeviceCommandPtrOutput

type DeviceLinkageRuleActionDeviceCommandPtrOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) CommandBody

Specifies the command parameters, in json format.

  • Example of device command using LWM2M protocol: `{"value":"1"}`, there are key-value pairs, each key is the parameter name of the command in the product model.
  • Example of device command using MQTT protocol: `{"header": {"mode": "ACK","from": "/users/testUser","method": "SET_TEMPERATURE_READ_PERIOD","to":"/devices/{device_id }/services/{service_id}"},"body": {"value" : "1"}}`.
  • **mode**: Required, whether the device needs to reply to the confirmation message after receiving the command. The default is ACK mode. `ACK` indicates that the confirmation message needs to be replied, `NOACK` indicates that the confirmation message does not need to be replied.
  • **from**: Optional, the address of the command sender. When the App initiates a request, the format is /users/{userId}, when the application server initiates a request, the format is /{serviceName}, and when the IoT platform initiates a request, the format is /cloud/{serviceName}.
  • **to**: optional, the address of the command receiver, the format is /devices/{device_id}/services/{service_id}.
  • **method**: optional, the command name defined in the product model.
  • **body**: optional, the message body of the command, which contains key-value pairs, each key is the parameter name of the command in the product model. The specific format requires application and device conventions.

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) CommandName

Specifies the command name.

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) DeviceId

Specifies the device id which excutes the command.

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) Elem

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ElementType

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ServiceId

Specifies the service id to which the command belongs.

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutput

func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutput() DeviceLinkageRuleActionDeviceCommandPtrOutput

func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext

func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandPtrOutput

type DeviceLinkageRuleActionInput

type DeviceLinkageRuleActionInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionOutput() DeviceLinkageRuleActionOutput
	ToDeviceLinkageRuleActionOutputWithContext(context.Context) DeviceLinkageRuleActionOutput
}

DeviceLinkageRuleActionInput is an input type that accepts DeviceLinkageRuleActionArgs and DeviceLinkageRuleActionOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionInput` via:

DeviceLinkageRuleActionArgs{...}

type DeviceLinkageRuleActionOutput

type DeviceLinkageRuleActionOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionOutput) DeviceAlarm

Specifies the detail of device alarm. It is required when type is `DEVICE_ALARM`. The deviceAlarm structure is documented below.

func (DeviceLinkageRuleActionOutput) DeviceCommand

Specifies the detail of device command. It is required when type is `DEVICE_CMD`. The deviceCommand structure is documented below.

func (DeviceLinkageRuleActionOutput) ElementType

func (DeviceLinkageRuleActionOutput) SmnForwarding

Specifies the detail of SMN notifications. It is required when type is `SMN_FORWARDING`. The smnForwarding structure is documented below.

func (DeviceLinkageRuleActionOutput) ToDeviceLinkageRuleActionOutput

func (o DeviceLinkageRuleActionOutput) ToDeviceLinkageRuleActionOutput() DeviceLinkageRuleActionOutput

func (DeviceLinkageRuleActionOutput) ToDeviceLinkageRuleActionOutputWithContext

func (o DeviceLinkageRuleActionOutput) ToDeviceLinkageRuleActionOutputWithContext(ctx context.Context) DeviceLinkageRuleActionOutput

func (DeviceLinkageRuleActionOutput) Type

Specifies the type of the alarm. The options are as follows: + **fault**: Report alarms. + **recovery**: Clear alarms.

type DeviceLinkageRuleActionSmnForwarding

type DeviceLinkageRuleActionSmnForwarding struct {
	// Specifies the message content.
	MessageContent string `pulumi:"messageContent"`
	// Specifies the message title.
	MessageTitle string `pulumi:"messageTitle"`
	// Specifies the project ID to which the SMN belongs.
	// If omitted, the default project in the region will be used.
	ProjectId *string `pulumi:"projectId"`
	// Specifies the region to which the SMN belongs.
	Region string `pulumi:"region"`
	// Specifies the topic name of the SMN.
	TopicName string `pulumi:"topicName"`
	// Specifies the topic URN of the SMN.
	TopicUrn string `pulumi:"topicUrn"`
}

type DeviceLinkageRuleActionSmnForwardingArgs

type DeviceLinkageRuleActionSmnForwardingArgs struct {
	// Specifies the message content.
	MessageContent pulumi.StringInput `pulumi:"messageContent"`
	// Specifies the message title.
	MessageTitle pulumi.StringInput `pulumi:"messageTitle"`
	// Specifies the project ID to which the SMN belongs.
	// If omitted, the default project in the region will be used.
	ProjectId pulumi.StringPtrInput `pulumi:"projectId"`
	// Specifies the region to which the SMN belongs.
	Region pulumi.StringInput `pulumi:"region"`
	// Specifies the topic name of the SMN.
	TopicName pulumi.StringInput `pulumi:"topicName"`
	// Specifies the topic URN of the SMN.
	TopicUrn pulumi.StringInput `pulumi:"topicUrn"`
}

func (DeviceLinkageRuleActionSmnForwardingArgs) ElementType

func (DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingOutput

func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingOutput() DeviceLinkageRuleActionSmnForwardingOutput

func (DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingOutputWithContext

func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingOutput

func (DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingPtrOutput

func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingPtrOutput() DeviceLinkageRuleActionSmnForwardingPtrOutput

func (DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext

func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingPtrOutput

type DeviceLinkageRuleActionSmnForwardingInput

type DeviceLinkageRuleActionSmnForwardingInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionSmnForwardingOutput() DeviceLinkageRuleActionSmnForwardingOutput
	ToDeviceLinkageRuleActionSmnForwardingOutputWithContext(context.Context) DeviceLinkageRuleActionSmnForwardingOutput
}

DeviceLinkageRuleActionSmnForwardingInput is an input type that accepts DeviceLinkageRuleActionSmnForwardingArgs and DeviceLinkageRuleActionSmnForwardingOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionSmnForwardingInput` via:

DeviceLinkageRuleActionSmnForwardingArgs{...}

type DeviceLinkageRuleActionSmnForwardingOutput

type DeviceLinkageRuleActionSmnForwardingOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionSmnForwardingOutput) ElementType

func (DeviceLinkageRuleActionSmnForwardingOutput) MessageContent

Specifies the message content.

func (DeviceLinkageRuleActionSmnForwardingOutput) MessageTitle

Specifies the message title.

func (DeviceLinkageRuleActionSmnForwardingOutput) ProjectId

Specifies the project ID to which the SMN belongs. If omitted, the default project in the region will be used.

func (DeviceLinkageRuleActionSmnForwardingOutput) Region

Specifies the region to which the SMN belongs.

func (DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingOutput

func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingOutput() DeviceLinkageRuleActionSmnForwardingOutput

func (DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingOutputWithContext

func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingOutput

func (DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutput

func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutput() DeviceLinkageRuleActionSmnForwardingPtrOutput

func (DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext

func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingPtrOutput

func (DeviceLinkageRuleActionSmnForwardingOutput) TopicName

Specifies the topic name of the SMN.

func (DeviceLinkageRuleActionSmnForwardingOutput) TopicUrn

Specifies the topic URN of the SMN.

type DeviceLinkageRuleActionSmnForwardingPtrInput

type DeviceLinkageRuleActionSmnForwardingPtrInput interface {
	pulumi.Input

	ToDeviceLinkageRuleActionSmnForwardingPtrOutput() DeviceLinkageRuleActionSmnForwardingPtrOutput
	ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext(context.Context) DeviceLinkageRuleActionSmnForwardingPtrOutput
}

DeviceLinkageRuleActionSmnForwardingPtrInput is an input type that accepts DeviceLinkageRuleActionSmnForwardingArgs, DeviceLinkageRuleActionSmnForwardingPtr and DeviceLinkageRuleActionSmnForwardingPtrOutput values. You can construct a concrete instance of `DeviceLinkageRuleActionSmnForwardingPtrInput` via:

        DeviceLinkageRuleActionSmnForwardingArgs{...}

or:

        nil

type DeviceLinkageRuleActionSmnForwardingPtrOutput

type DeviceLinkageRuleActionSmnForwardingPtrOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) Elem

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ElementType

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageContent

Specifies the message content.

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageTitle

Specifies the message title.

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ProjectId

Specifies the project ID to which the SMN belongs. If omitted, the default project in the region will be used.

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) Region

Specifies the region to which the SMN belongs.

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutput

func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutput() DeviceLinkageRuleActionSmnForwardingPtrOutput

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext

func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingPtrOutput

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) TopicName

Specifies the topic name of the SMN.

func (DeviceLinkageRuleActionSmnForwardingPtrOutput) TopicUrn

Specifies the topic URN of the SMN.

type DeviceLinkageRuleArgs

type DeviceLinkageRuleArgs struct {
	// Specifies the list of the actions, at most 10 actions.
	// The actions structure is documented below.
	Actions DeviceLinkageRuleActionArrayInput
	// Specifies the description of the alarm.
	Description pulumi.StringPtrInput
	// Specifies the effective period of the device linkage rule. Always effectives
	// by default. The effectivePeriod structure is documented below.
	EffectivePeriod DeviceLinkageRuleEffectivePeriodPtrInput
	// Specifies whether to enable the device linkage rule. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Specifies the name of the alarm.
	Name pulumi.StringPtrInput
	// Specifies the region to which the SMN belongs.
	Region pulumi.StringPtrInput
	// Specifies the resource space ID to which the device linkage rule belongs.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringInput
	// Specifies the logical relationship between multiple triggers.
	// The options are as follows:
	// + **and**: All of the triggers are met.
	// + **or**: Any of the triggers are met.
	TriggerLogic pulumi.StringPtrInput
	// Specifies the list of the triggers, at most 10 triggers.
	// The triggers structure is documented below.
	Triggers DeviceLinkageRuleTriggerArrayInput
}

The set of arguments for constructing a DeviceLinkageRule resource.

func (DeviceLinkageRuleArgs) ElementType

func (DeviceLinkageRuleArgs) ElementType() reflect.Type

type DeviceLinkageRuleArray

type DeviceLinkageRuleArray []DeviceLinkageRuleInput

func (DeviceLinkageRuleArray) ElementType

func (DeviceLinkageRuleArray) ElementType() reflect.Type

func (DeviceLinkageRuleArray) ToDeviceLinkageRuleArrayOutput

func (i DeviceLinkageRuleArray) ToDeviceLinkageRuleArrayOutput() DeviceLinkageRuleArrayOutput

func (DeviceLinkageRuleArray) ToDeviceLinkageRuleArrayOutputWithContext

func (i DeviceLinkageRuleArray) ToDeviceLinkageRuleArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleArrayOutput

type DeviceLinkageRuleArrayInput

type DeviceLinkageRuleArrayInput interface {
	pulumi.Input

	ToDeviceLinkageRuleArrayOutput() DeviceLinkageRuleArrayOutput
	ToDeviceLinkageRuleArrayOutputWithContext(context.Context) DeviceLinkageRuleArrayOutput
}

DeviceLinkageRuleArrayInput is an input type that accepts DeviceLinkageRuleArray and DeviceLinkageRuleArrayOutput values. You can construct a concrete instance of `DeviceLinkageRuleArrayInput` via:

DeviceLinkageRuleArray{ DeviceLinkageRuleArgs{...} }

type DeviceLinkageRuleArrayOutput

type DeviceLinkageRuleArrayOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleArrayOutput) ElementType

func (DeviceLinkageRuleArrayOutput) Index

func (DeviceLinkageRuleArrayOutput) ToDeviceLinkageRuleArrayOutput

func (o DeviceLinkageRuleArrayOutput) ToDeviceLinkageRuleArrayOutput() DeviceLinkageRuleArrayOutput

func (DeviceLinkageRuleArrayOutput) ToDeviceLinkageRuleArrayOutputWithContext

func (o DeviceLinkageRuleArrayOutput) ToDeviceLinkageRuleArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleArrayOutput

type DeviceLinkageRuleEffectivePeriod

type DeviceLinkageRuleEffectivePeriod struct {
	// Specifies a list of days of week, separated by commas. 1 represents Sunday,
	// 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).
	DaysOfWeek *string `pulumi:"daysOfWeek"`
	// Specifies the end time, in the format: `HH:mm`.
	// For example: `10:00`. If the end time is the same as the start time, the effective period is the whole day.
	EndTime string `pulumi:"endTime"`
	// Specifies the start time, in the format: `HH:mm`.
	// For example: `03:00`.
	StartTime string `pulumi:"startTime"`
}

type DeviceLinkageRuleEffectivePeriodArgs

type DeviceLinkageRuleEffectivePeriodArgs struct {
	// Specifies a list of days of week, separated by commas. 1 represents Sunday,
	// 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).
	DaysOfWeek pulumi.StringPtrInput `pulumi:"daysOfWeek"`
	// Specifies the end time, in the format: `HH:mm`.
	// For example: `10:00`. If the end time is the same as the start time, the effective period is the whole day.
	EndTime pulumi.StringInput `pulumi:"endTime"`
	// Specifies the start time, in the format: `HH:mm`.
	// For example: `03:00`.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (DeviceLinkageRuleEffectivePeriodArgs) ElementType

func (DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodOutput

func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodOutput() DeviceLinkageRuleEffectivePeriodOutput

func (DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodOutputWithContext

func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodOutput

func (DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodPtrOutput

func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodPtrOutput() DeviceLinkageRuleEffectivePeriodPtrOutput

func (DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext

func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodPtrOutput

type DeviceLinkageRuleEffectivePeriodInput

type DeviceLinkageRuleEffectivePeriodInput interface {
	pulumi.Input

	ToDeviceLinkageRuleEffectivePeriodOutput() DeviceLinkageRuleEffectivePeriodOutput
	ToDeviceLinkageRuleEffectivePeriodOutputWithContext(context.Context) DeviceLinkageRuleEffectivePeriodOutput
}

DeviceLinkageRuleEffectivePeriodInput is an input type that accepts DeviceLinkageRuleEffectivePeriodArgs and DeviceLinkageRuleEffectivePeriodOutput values. You can construct a concrete instance of `DeviceLinkageRuleEffectivePeriodInput` via:

DeviceLinkageRuleEffectivePeriodArgs{...}

type DeviceLinkageRuleEffectivePeriodOutput

type DeviceLinkageRuleEffectivePeriodOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleEffectivePeriodOutput) DaysOfWeek

Specifies a list of days of week, separated by commas. 1 represents Sunday, 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).

func (DeviceLinkageRuleEffectivePeriodOutput) ElementType

func (DeviceLinkageRuleEffectivePeriodOutput) EndTime

Specifies the end time, in the format: `HH:mm`. For example: `10:00`. If the end time is the same as the start time, the effective period is the whole day.

func (DeviceLinkageRuleEffectivePeriodOutput) StartTime

Specifies the start time, in the format: `HH:mm`. For example: `03:00`.

func (DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodOutput

func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodOutput() DeviceLinkageRuleEffectivePeriodOutput

func (DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodOutputWithContext

func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodOutput

func (DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutput

func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutput() DeviceLinkageRuleEffectivePeriodPtrOutput

func (DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext

func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodPtrOutput

type DeviceLinkageRuleEffectivePeriodPtrInput

type DeviceLinkageRuleEffectivePeriodPtrInput interface {
	pulumi.Input

	ToDeviceLinkageRuleEffectivePeriodPtrOutput() DeviceLinkageRuleEffectivePeriodPtrOutput
	ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext(context.Context) DeviceLinkageRuleEffectivePeriodPtrOutput
}

DeviceLinkageRuleEffectivePeriodPtrInput is an input type that accepts DeviceLinkageRuleEffectivePeriodArgs, DeviceLinkageRuleEffectivePeriodPtr and DeviceLinkageRuleEffectivePeriodPtrOutput values. You can construct a concrete instance of `DeviceLinkageRuleEffectivePeriodPtrInput` via:

        DeviceLinkageRuleEffectivePeriodArgs{...}

or:

        nil

type DeviceLinkageRuleEffectivePeriodPtrOutput

type DeviceLinkageRuleEffectivePeriodPtrOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleEffectivePeriodPtrOutput) DaysOfWeek

Specifies a list of days of week, separated by commas. 1 represents Sunday, 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).

func (DeviceLinkageRuleEffectivePeriodPtrOutput) Elem

func (DeviceLinkageRuleEffectivePeriodPtrOutput) ElementType

func (DeviceLinkageRuleEffectivePeriodPtrOutput) EndTime

Specifies the end time, in the format: `HH:mm`. For example: `10:00`. If the end time is the same as the start time, the effective period is the whole day.

func (DeviceLinkageRuleEffectivePeriodPtrOutput) StartTime

Specifies the start time, in the format: `HH:mm`. For example: `03:00`.

func (DeviceLinkageRuleEffectivePeriodPtrOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutput

func (o DeviceLinkageRuleEffectivePeriodPtrOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutput() DeviceLinkageRuleEffectivePeriodPtrOutput

func (DeviceLinkageRuleEffectivePeriodPtrOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext

func (o DeviceLinkageRuleEffectivePeriodPtrOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodPtrOutput

type DeviceLinkageRuleInput

type DeviceLinkageRuleInput interface {
	pulumi.Input

	ToDeviceLinkageRuleOutput() DeviceLinkageRuleOutput
	ToDeviceLinkageRuleOutputWithContext(ctx context.Context) DeviceLinkageRuleOutput
}

type DeviceLinkageRuleMap

type DeviceLinkageRuleMap map[string]DeviceLinkageRuleInput

func (DeviceLinkageRuleMap) ElementType

func (DeviceLinkageRuleMap) ElementType() reflect.Type

func (DeviceLinkageRuleMap) ToDeviceLinkageRuleMapOutput

func (i DeviceLinkageRuleMap) ToDeviceLinkageRuleMapOutput() DeviceLinkageRuleMapOutput

func (DeviceLinkageRuleMap) ToDeviceLinkageRuleMapOutputWithContext

func (i DeviceLinkageRuleMap) ToDeviceLinkageRuleMapOutputWithContext(ctx context.Context) DeviceLinkageRuleMapOutput

type DeviceLinkageRuleMapInput

type DeviceLinkageRuleMapInput interface {
	pulumi.Input

	ToDeviceLinkageRuleMapOutput() DeviceLinkageRuleMapOutput
	ToDeviceLinkageRuleMapOutputWithContext(context.Context) DeviceLinkageRuleMapOutput
}

DeviceLinkageRuleMapInput is an input type that accepts DeviceLinkageRuleMap and DeviceLinkageRuleMapOutput values. You can construct a concrete instance of `DeviceLinkageRuleMapInput` via:

DeviceLinkageRuleMap{ "key": DeviceLinkageRuleArgs{...} }

type DeviceLinkageRuleMapOutput

type DeviceLinkageRuleMapOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleMapOutput) ElementType

func (DeviceLinkageRuleMapOutput) ElementType() reflect.Type

func (DeviceLinkageRuleMapOutput) MapIndex

func (DeviceLinkageRuleMapOutput) ToDeviceLinkageRuleMapOutput

func (o DeviceLinkageRuleMapOutput) ToDeviceLinkageRuleMapOutput() DeviceLinkageRuleMapOutput

func (DeviceLinkageRuleMapOutput) ToDeviceLinkageRuleMapOutputWithContext

func (o DeviceLinkageRuleMapOutput) ToDeviceLinkageRuleMapOutputWithContext(ctx context.Context) DeviceLinkageRuleMapOutput

type DeviceLinkageRuleOutput

type DeviceLinkageRuleOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleOutput) Actions

Specifies the list of the actions, at most 10 actions. The actions structure is documented below.

func (DeviceLinkageRuleOutput) Description

Specifies the description of the alarm.

func (DeviceLinkageRuleOutput) EffectivePeriod

Specifies the effective period of the device linkage rule. Always effectives by default. The effectivePeriod structure is documented below.

func (DeviceLinkageRuleOutput) ElementType

func (DeviceLinkageRuleOutput) ElementType() reflect.Type

func (DeviceLinkageRuleOutput) Enabled

Specifies whether to enable the device linkage rule. Defaults to `true`.

func (DeviceLinkageRuleOutput) Name

Specifies the name of the alarm.

func (DeviceLinkageRuleOutput) Region

Specifies the region to which the SMN belongs.

func (DeviceLinkageRuleOutput) SpaceId

Specifies the resource space ID to which the device linkage rule belongs. Changing this parameter will create a new resource.

func (DeviceLinkageRuleOutput) ToDeviceLinkageRuleOutput

func (o DeviceLinkageRuleOutput) ToDeviceLinkageRuleOutput() DeviceLinkageRuleOutput

func (DeviceLinkageRuleOutput) ToDeviceLinkageRuleOutputWithContext

func (o DeviceLinkageRuleOutput) ToDeviceLinkageRuleOutputWithContext(ctx context.Context) DeviceLinkageRuleOutput

func (DeviceLinkageRuleOutput) TriggerLogic

Specifies the logical relationship between multiple triggers. The options are as follows: + **and**: All of the triggers are met. + **or**: Any of the triggers are met.

func (DeviceLinkageRuleOutput) Triggers

Specifies the list of the triggers, at most 10 triggers. The triggers structure is documented below.

type DeviceLinkageRuleState

type DeviceLinkageRuleState struct {
	// Specifies the list of the actions, at most 10 actions.
	// The actions structure is documented below.
	Actions DeviceLinkageRuleActionArrayInput
	// Specifies the description of the alarm.
	Description pulumi.StringPtrInput
	// Specifies the effective period of the device linkage rule. Always effectives
	// by default. The effectivePeriod structure is documented below.
	EffectivePeriod DeviceLinkageRuleEffectivePeriodPtrInput
	// Specifies whether to enable the device linkage rule. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// Specifies the name of the alarm.
	Name pulumi.StringPtrInput
	// Specifies the region to which the SMN belongs.
	Region pulumi.StringPtrInput
	// Specifies the resource space ID to which the device linkage rule belongs.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
	// Specifies the logical relationship between multiple triggers.
	// The options are as follows:
	// + **and**: All of the triggers are met.
	// + **or**: Any of the triggers are met.
	TriggerLogic pulumi.StringPtrInput
	// Specifies the list of the triggers, at most 10 triggers.
	// The triggers structure is documented below.
	Triggers DeviceLinkageRuleTriggerArrayInput
}

func (DeviceLinkageRuleState) ElementType

func (DeviceLinkageRuleState) ElementType() reflect.Type

type DeviceLinkageRuleTrigger

type DeviceLinkageRuleTrigger struct {
	// Specifies the condition triggered at specified time every day. It is
	// required when type is `DAILY_TIMER`. The dailyTimerCondition structure is
	// documented below.
	DailyTimerCondition *DeviceLinkageRuleTriggerDailyTimerCondition `pulumi:"dailyTimerCondition"`
	// Specifies the condition triggered upon the property of device. It is
	// required when type is `DEVICE_DATA`. The deviceDataCondition structure is
	// documented below.
	DeviceDataCondition *DeviceLinkageRuleTriggerDeviceDataCondition `pulumi:"deviceDataCondition"`
	// Specifies the condition triggered by policy. It is required when type
	// is `SIMPLE_TIMER`. The simpleTimerCondition structure is documented below.
	SimpleTimerCondition *DeviceLinkageRuleTriggerSimpleTimerCondition `pulumi:"simpleTimerCondition"`
	// Specifies the type of the alarm. The options are as follows:
	// + **fault**: Report alarms.
	// + **recovery**: Clear alarms.
	Type string `pulumi:"type"`
}

type DeviceLinkageRuleTriggerArgs

type DeviceLinkageRuleTriggerArgs struct {
	// Specifies the condition triggered at specified time every day. It is
	// required when type is `DAILY_TIMER`. The dailyTimerCondition structure is
	// documented below.
	DailyTimerCondition DeviceLinkageRuleTriggerDailyTimerConditionPtrInput `pulumi:"dailyTimerCondition"`
	// Specifies the condition triggered upon the property of device. It is
	// required when type is `DEVICE_DATA`. The deviceDataCondition structure is
	// documented below.
	DeviceDataCondition DeviceLinkageRuleTriggerDeviceDataConditionPtrInput `pulumi:"deviceDataCondition"`
	// Specifies the condition triggered by policy. It is required when type
	// is `SIMPLE_TIMER`. The simpleTimerCondition structure is documented below.
	SimpleTimerCondition DeviceLinkageRuleTriggerSimpleTimerConditionPtrInput `pulumi:"simpleTimerCondition"`
	// Specifies the type of the alarm. The options are as follows:
	// + **fault**: Report alarms.
	// + **recovery**: Clear alarms.
	Type pulumi.StringInput `pulumi:"type"`
}

func (DeviceLinkageRuleTriggerArgs) ElementType

func (DeviceLinkageRuleTriggerArgs) ToDeviceLinkageRuleTriggerOutput

func (i DeviceLinkageRuleTriggerArgs) ToDeviceLinkageRuleTriggerOutput() DeviceLinkageRuleTriggerOutput

func (DeviceLinkageRuleTriggerArgs) ToDeviceLinkageRuleTriggerOutputWithContext

func (i DeviceLinkageRuleTriggerArgs) ToDeviceLinkageRuleTriggerOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerOutput

type DeviceLinkageRuleTriggerArray

type DeviceLinkageRuleTriggerArray []DeviceLinkageRuleTriggerInput

func (DeviceLinkageRuleTriggerArray) ElementType

func (DeviceLinkageRuleTriggerArray) ToDeviceLinkageRuleTriggerArrayOutput

func (i DeviceLinkageRuleTriggerArray) ToDeviceLinkageRuleTriggerArrayOutput() DeviceLinkageRuleTriggerArrayOutput

func (DeviceLinkageRuleTriggerArray) ToDeviceLinkageRuleTriggerArrayOutputWithContext

func (i DeviceLinkageRuleTriggerArray) ToDeviceLinkageRuleTriggerArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerArrayOutput

type DeviceLinkageRuleTriggerArrayInput

type DeviceLinkageRuleTriggerArrayInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerArrayOutput() DeviceLinkageRuleTriggerArrayOutput
	ToDeviceLinkageRuleTriggerArrayOutputWithContext(context.Context) DeviceLinkageRuleTriggerArrayOutput
}

DeviceLinkageRuleTriggerArrayInput is an input type that accepts DeviceLinkageRuleTriggerArray and DeviceLinkageRuleTriggerArrayOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerArrayInput` via:

DeviceLinkageRuleTriggerArray{ DeviceLinkageRuleTriggerArgs{...} }

type DeviceLinkageRuleTriggerArrayOutput

type DeviceLinkageRuleTriggerArrayOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerArrayOutput) ElementType

func (DeviceLinkageRuleTriggerArrayOutput) Index

func (DeviceLinkageRuleTriggerArrayOutput) ToDeviceLinkageRuleTriggerArrayOutput

func (o DeviceLinkageRuleTriggerArrayOutput) ToDeviceLinkageRuleTriggerArrayOutput() DeviceLinkageRuleTriggerArrayOutput

func (DeviceLinkageRuleTriggerArrayOutput) ToDeviceLinkageRuleTriggerArrayOutputWithContext

func (o DeviceLinkageRuleTriggerArrayOutput) ToDeviceLinkageRuleTriggerArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerArrayOutput

type DeviceLinkageRuleTriggerDailyTimerCondition

type DeviceLinkageRuleTriggerDailyTimerCondition struct {
	// Specifies a list of days of week, separated by commas. 1 represents Sunday,
	// 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).
	DaysOfWeek *string `pulumi:"daysOfWeek"`
	// Specifies the start time, in the format: `HH:mm`.
	// For example: `03:00`.
	StartTime string `pulumi:"startTime"`
}

type DeviceLinkageRuleTriggerDailyTimerConditionArgs

type DeviceLinkageRuleTriggerDailyTimerConditionArgs struct {
	// Specifies a list of days of week, separated by commas. 1 represents Sunday,
	// 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).
	DaysOfWeek pulumi.StringPtrInput `pulumi:"daysOfWeek"`
	// Specifies the start time, in the format: `HH:mm`.
	// For example: `03:00`.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (DeviceLinkageRuleTriggerDailyTimerConditionArgs) ElementType

func (DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionOutput

func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionOutput() DeviceLinkageRuleTriggerDailyTimerConditionOutput

func (DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionOutputWithContext

func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionOutput

func (DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

func (DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext

func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

type DeviceLinkageRuleTriggerDailyTimerConditionInput

type DeviceLinkageRuleTriggerDailyTimerConditionInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerDailyTimerConditionOutput() DeviceLinkageRuleTriggerDailyTimerConditionOutput
	ToDeviceLinkageRuleTriggerDailyTimerConditionOutputWithContext(context.Context) DeviceLinkageRuleTriggerDailyTimerConditionOutput
}

DeviceLinkageRuleTriggerDailyTimerConditionInput is an input type that accepts DeviceLinkageRuleTriggerDailyTimerConditionArgs and DeviceLinkageRuleTriggerDailyTimerConditionOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerDailyTimerConditionInput` via:

DeviceLinkageRuleTriggerDailyTimerConditionArgs{...}

type DeviceLinkageRuleTriggerDailyTimerConditionOutput

type DeviceLinkageRuleTriggerDailyTimerConditionOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) DaysOfWeek

Specifies a list of days of week, separated by commas. 1 represents Sunday, 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).

func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) ElementType

func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) StartTime

Specifies the start time, in the format: `HH:mm`. For example: `03:00`.

func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionOutput

func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionOutput() DeviceLinkageRuleTriggerDailyTimerConditionOutput

func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionOutputWithContext

func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionOutput

func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext

func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

type DeviceLinkageRuleTriggerDailyTimerConditionPtrInput

type DeviceLinkageRuleTriggerDailyTimerConditionPtrInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
	ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext(context.Context) DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
}

DeviceLinkageRuleTriggerDailyTimerConditionPtrInput is an input type that accepts DeviceLinkageRuleTriggerDailyTimerConditionArgs, DeviceLinkageRuleTriggerDailyTimerConditionPtr and DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerDailyTimerConditionPtrInput` via:

        DeviceLinkageRuleTriggerDailyTimerConditionArgs{...}

or:

        nil

type DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

type DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) DaysOfWeek

Specifies a list of days of week, separated by commas. 1 represents Sunday, 2 represents Monday, and so on. Defaults to `1,2,3,4,5,6,7` (every day).

func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) Elem

func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ElementType

func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) StartTime

Specifies the start time, in the format: `HH:mm`. For example: `03:00`.

func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext

func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput

type DeviceLinkageRuleTriggerDeviceDataCondition

type DeviceLinkageRuleTriggerDeviceDataCondition struct {
	// Specifies data validity period, Unit is `seconds`. Defaults to `300`.
	// For example, if Data Validity Period is set to 30 minutes, a device generates data at 19:00, and the platform receives
	// the data at 20:00, the action is nottriggered regardless of whether the conditions are met.
	DataValidatiyPeriod *int `pulumi:"dataValidatiyPeriod"`
	// Specifies the device id which excutes the command.
	DeviceId *string `pulumi:"deviceId"`
	// Specifies the data comparison operator. The valid values are: **>**, **<**,
	// **>=**, **<=**, **=** and **between**.
	Operator string `pulumi:"operator"`
	// Specifies the path of the device property, in the format: **service_id/DataProperty**.
	Path string `pulumi:"path"`
	// Specifies the product id, all devices belonging to this product will trigger
	// the rule. Exactly one of `deviceId` or `productId` must be provided.
	ProductId *string `pulumi:"productId"`
	// Specifies the trigger strategy. The options are as follows:
	// + **pulse**: When the data reported by the device meets the conditions, the rule can be triggered.
	// + **reverse**: Repetition suppression. For example, if an alarm is configured to be triggered when the battery level
	//   is lower than 20%, the alarm will be triggered once the battery initially drops below 20% but will not be triggered
	//   again each time the battery drops to a lower level.
	TriggerStrategy *string `pulumi:"triggerStrategy"`
	// Specifies the Rvalue of a data comparison expression. When the `operator` is `between`,
	// the Rvalue represents the minimum and maximum values, separated by commas, such as "20,30",
	// which means greater than or equal to 20 and less than 30.
	Value string `pulumi:"value"`
}

type DeviceLinkageRuleTriggerDeviceDataConditionArgs

type DeviceLinkageRuleTriggerDeviceDataConditionArgs struct {
	// Specifies data validity period, Unit is `seconds`. Defaults to `300`.
	// For example, if Data Validity Period is set to 30 minutes, a device generates data at 19:00, and the platform receives
	// the data at 20:00, the action is nottriggered regardless of whether the conditions are met.
	DataValidatiyPeriod pulumi.IntPtrInput `pulumi:"dataValidatiyPeriod"`
	// Specifies the device id which excutes the command.
	DeviceId pulumi.StringPtrInput `pulumi:"deviceId"`
	// Specifies the data comparison operator. The valid values are: **>**, **<**,
	// **>=**, **<=**, **=** and **between**.
	Operator pulumi.StringInput `pulumi:"operator"`
	// Specifies the path of the device property, in the format: **service_id/DataProperty**.
	Path pulumi.StringInput `pulumi:"path"`
	// Specifies the product id, all devices belonging to this product will trigger
	// the rule. Exactly one of `deviceId` or `productId` must be provided.
	ProductId pulumi.StringPtrInput `pulumi:"productId"`
	// Specifies the trigger strategy. The options are as follows:
	// + **pulse**: When the data reported by the device meets the conditions, the rule can be triggered.
	// + **reverse**: Repetition suppression. For example, if an alarm is configured to be triggered when the battery level
	//   is lower than 20%, the alarm will be triggered once the battery initially drops below 20% but will not be triggered
	//   again each time the battery drops to a lower level.
	TriggerStrategy pulumi.StringPtrInput `pulumi:"triggerStrategy"`
	// Specifies the Rvalue of a data comparison expression. When the `operator` is `between`,
	// the Rvalue represents the minimum and maximum values, separated by commas, such as "20,30",
	// which means greater than or equal to 20 and less than 30.
	Value pulumi.StringInput `pulumi:"value"`
}

func (DeviceLinkageRuleTriggerDeviceDataConditionArgs) ElementType

func (DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionOutput

func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionOutput() DeviceLinkageRuleTriggerDeviceDataConditionOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionOutputWithContext

func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext

func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

type DeviceLinkageRuleTriggerDeviceDataConditionInput

type DeviceLinkageRuleTriggerDeviceDataConditionInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerDeviceDataConditionOutput() DeviceLinkageRuleTriggerDeviceDataConditionOutput
	ToDeviceLinkageRuleTriggerDeviceDataConditionOutputWithContext(context.Context) DeviceLinkageRuleTriggerDeviceDataConditionOutput
}

DeviceLinkageRuleTriggerDeviceDataConditionInput is an input type that accepts DeviceLinkageRuleTriggerDeviceDataConditionArgs and DeviceLinkageRuleTriggerDeviceDataConditionOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerDeviceDataConditionInput` via:

DeviceLinkageRuleTriggerDeviceDataConditionArgs{...}

type DeviceLinkageRuleTriggerDeviceDataConditionOutput

type DeviceLinkageRuleTriggerDeviceDataConditionOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) DataValidatiyPeriod

Specifies data validity period, Unit is `seconds`. Defaults to `300`. For example, if Data Validity Period is set to 30 minutes, a device generates data at 19:00, and the platform receives the data at 20:00, the action is nottriggered regardless of whether the conditions are met.

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) DeviceId

Specifies the device id which excutes the command.

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ElementType

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) Operator

Specifies the data comparison operator. The valid values are: **>**, **<**, **>=**, **<=**, **=** and **between**.

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) Path

Specifies the path of the device property, in the format: **service_id/DataProperty**.

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ProductId

Specifies the product id, all devices belonging to this product will trigger the rule. Exactly one of `deviceId` or `productId` must be provided.

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionOutput

func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionOutput() DeviceLinkageRuleTriggerDeviceDataConditionOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionOutputWithContext

func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext

func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) TriggerStrategy

Specifies the trigger strategy. The options are as follows:

  • **pulse**: When the data reported by the device meets the conditions, the rule can be triggered.
  • **reverse**: Repetition suppression. For example, if an alarm is configured to be triggered when the battery level is lower than 20%, the alarm will be triggered once the battery initially drops below 20% but will not be triggered again each time the battery drops to a lower level.

func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) Value

Specifies the Rvalue of a data comparison expression. When the `operator` is `between`, the Rvalue represents the minimum and maximum values, separated by commas, such as "20,30", which means greater than or equal to 20 and less than 30.

type DeviceLinkageRuleTriggerDeviceDataConditionPtrInput

type DeviceLinkageRuleTriggerDeviceDataConditionPtrInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
	ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
}

DeviceLinkageRuleTriggerDeviceDataConditionPtrInput is an input type that accepts DeviceLinkageRuleTriggerDeviceDataConditionArgs, DeviceLinkageRuleTriggerDeviceDataConditionPtr and DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerDeviceDataConditionPtrInput` via:

        DeviceLinkageRuleTriggerDeviceDataConditionArgs{...}

or:

        nil

type DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

type DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) DataValidatiyPeriod

Specifies data validity period, Unit is `seconds`. Defaults to `300`. For example, if Data Validity Period is set to 30 minutes, a device generates data at 19:00, and the platform receives the data at 20:00, the action is nottriggered regardless of whether the conditions are met.

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) DeviceId

Specifies the device id which excutes the command.

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Elem

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ElementType

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Operator

Specifies the data comparison operator. The valid values are: **>**, **<**, **>=**, **<=**, **=** and **between**.

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Path

Specifies the path of the device property, in the format: **service_id/DataProperty**.

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ProductId

Specifies the product id, all devices belonging to this product will trigger the rule. Exactly one of `deviceId` or `productId` must be provided.

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext

func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) TriggerStrategy

Specifies the trigger strategy. The options are as follows:

  • **pulse**: When the data reported by the device meets the conditions, the rule can be triggered.
  • **reverse**: Repetition suppression. For example, if an alarm is configured to be triggered when the battery level is lower than 20%, the alarm will be triggered once the battery initially drops below 20% but will not be triggered again each time the battery drops to a lower level.

func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Value

Specifies the Rvalue of a data comparison expression. When the `operator` is `between`, the Rvalue represents the minimum and maximum values, separated by commas, such as "20,30", which means greater than or equal to 20 and less than 30.

type DeviceLinkageRuleTriggerInput

type DeviceLinkageRuleTriggerInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerOutput() DeviceLinkageRuleTriggerOutput
	ToDeviceLinkageRuleTriggerOutputWithContext(context.Context) DeviceLinkageRuleTriggerOutput
}

DeviceLinkageRuleTriggerInput is an input type that accepts DeviceLinkageRuleTriggerArgs and DeviceLinkageRuleTriggerOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerInput` via:

DeviceLinkageRuleTriggerArgs{...}

type DeviceLinkageRuleTriggerOutput

type DeviceLinkageRuleTriggerOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerOutput) DailyTimerCondition

Specifies the condition triggered at specified time every day. It is required when type is `DAILY_TIMER`. The dailyTimerCondition structure is documented below.

func (DeviceLinkageRuleTriggerOutput) DeviceDataCondition

Specifies the condition triggered upon the property of device. It is required when type is `DEVICE_DATA`. The deviceDataCondition structure is documented below.

func (DeviceLinkageRuleTriggerOutput) ElementType

func (DeviceLinkageRuleTriggerOutput) SimpleTimerCondition

Specifies the condition triggered by policy. It is required when type is `SIMPLE_TIMER`. The simpleTimerCondition structure is documented below.

func (DeviceLinkageRuleTriggerOutput) ToDeviceLinkageRuleTriggerOutput

func (o DeviceLinkageRuleTriggerOutput) ToDeviceLinkageRuleTriggerOutput() DeviceLinkageRuleTriggerOutput

func (DeviceLinkageRuleTriggerOutput) ToDeviceLinkageRuleTriggerOutputWithContext

func (o DeviceLinkageRuleTriggerOutput) ToDeviceLinkageRuleTriggerOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerOutput

func (DeviceLinkageRuleTriggerOutput) Type

Specifies the type of the alarm. The options are as follows: + **fault**: Report alarms. + **recovery**: Clear alarms.

type DeviceLinkageRuleTriggerSimpleTimerCondition

type DeviceLinkageRuleTriggerSimpleTimerCondition struct {
	// Specifies total number of repetition.
	RepeatCount int `pulumi:"repeatCount"`
	// Specifies the interval of repetition, Unit is `minutes`.
	RepeatInterval int `pulumi:"repeatInterval"`
	// Specifies the start time, in the format: `HH:mm`.
	// For example: `03:00`.
	StartTime string `pulumi:"startTime"`
}

type DeviceLinkageRuleTriggerSimpleTimerConditionArgs

type DeviceLinkageRuleTriggerSimpleTimerConditionArgs struct {
	// Specifies total number of repetition.
	RepeatCount pulumi.IntInput `pulumi:"repeatCount"`
	// Specifies the interval of repetition, Unit is `minutes`.
	RepeatInterval pulumi.IntInput `pulumi:"repeatInterval"`
	// Specifies the start time, in the format: `HH:mm`.
	// For example: `03:00`.
	StartTime pulumi.StringInput `pulumi:"startTime"`
}

func (DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ElementType

func (DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutput

func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutput() DeviceLinkageRuleTriggerSimpleTimerConditionOutput

func (DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutputWithContext

func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionOutput

func (DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

func (DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext

func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

type DeviceLinkageRuleTriggerSimpleTimerConditionInput

type DeviceLinkageRuleTriggerSimpleTimerConditionInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerSimpleTimerConditionOutput() DeviceLinkageRuleTriggerSimpleTimerConditionOutput
	ToDeviceLinkageRuleTriggerSimpleTimerConditionOutputWithContext(context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionOutput
}

DeviceLinkageRuleTriggerSimpleTimerConditionInput is an input type that accepts DeviceLinkageRuleTriggerSimpleTimerConditionArgs and DeviceLinkageRuleTriggerSimpleTimerConditionOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerSimpleTimerConditionInput` via:

DeviceLinkageRuleTriggerSimpleTimerConditionArgs{...}

type DeviceLinkageRuleTriggerSimpleTimerConditionOutput

type DeviceLinkageRuleTriggerSimpleTimerConditionOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ElementType

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatCount

Specifies total number of repetition.

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatInterval

Specifies the interval of repetition, Unit is `minutes`.

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) StartTime

Specifies the start time, in the format: `HH:mm`. For example: `03:00`.

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutput

func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutput() DeviceLinkageRuleTriggerSimpleTimerConditionOutput

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutputWithContext

func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionOutput

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext

func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

type DeviceLinkageRuleTriggerSimpleTimerConditionPtrInput

type DeviceLinkageRuleTriggerSimpleTimerConditionPtrInput interface {
	pulumi.Input

	ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
	ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
}

DeviceLinkageRuleTriggerSimpleTimerConditionPtrInput is an input type that accepts DeviceLinkageRuleTriggerSimpleTimerConditionArgs, DeviceLinkageRuleTriggerSimpleTimerConditionPtr and DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput values. You can construct a concrete instance of `DeviceLinkageRuleTriggerSimpleTimerConditionPtrInput` via:

        DeviceLinkageRuleTriggerSimpleTimerConditionArgs{...}

or:

        nil

type DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

type DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput struct{ *pulumi.OutputState }

func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) Elem

func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ElementType

func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatCount

Specifies total number of repetition.

func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatInterval

Specifies the interval of repetition, Unit is `minutes`.

func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) StartTime

Specifies the start time, in the format: `HH:mm`. For example: `03:00`.

func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext

func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput

type DeviceMap

type DeviceMap map[string]DeviceInput

func (DeviceMap) ElementType

func (DeviceMap) ElementType() reflect.Type

func (DeviceMap) ToDeviceMapOutput

func (i DeviceMap) ToDeviceMapOutput() DeviceMapOutput

func (DeviceMap) ToDeviceMapOutputWithContext

func (i DeviceMap) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOutput

type DeviceMapInput

type DeviceMapInput interface {
	pulumi.Input

	ToDeviceMapOutput() DeviceMapOutput
	ToDeviceMapOutputWithContext(context.Context) DeviceMapOutput
}

DeviceMapInput is an input type that accepts DeviceMap and DeviceMapOutput values. You can construct a concrete instance of `DeviceMapInput` via:

DeviceMap{ "key": DeviceArgs{...} }

type DeviceMapOutput

type DeviceMapOutput struct{ *pulumi.OutputState }

func (DeviceMapOutput) ElementType

func (DeviceMapOutput) ElementType() reflect.Type

func (DeviceMapOutput) MapIndex

func (DeviceMapOutput) ToDeviceMapOutput

func (o DeviceMapOutput) ToDeviceMapOutput() DeviceMapOutput

func (DeviceMapOutput) ToDeviceMapOutputWithContext

func (o DeviceMapOutput) ToDeviceMapOutputWithContext(ctx context.Context) DeviceMapOutput

type DeviceOutput

type DeviceOutput struct{ *pulumi.OutputState }

func (DeviceOutput) AuthType

func (o DeviceOutput) AuthType() pulumi.StringOutput

The authentication type of device. The options are as follows: + **SECRET**: Use a secret for identity authentication. + **CERTIFICATES**: Use an x.509 certificate for identity authentication.

func (DeviceOutput) Description

func (o DeviceOutput) Description() pulumi.StringPtrOutput

Specifies the description of device. The description contains a maximum of 2048 characters. Only letters, Chinese characters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.

func (DeviceOutput) DeviceId

func (o DeviceOutput) DeviceId() pulumi.StringOutput

Specifies the device ID, which contains 4 to 256 characters. Only letters, digits, hyphens (-) and underscore (_) are allowed. If omitted, the platform will automatically allocate a device ID. Changing this parameter will create a new resource.

func (DeviceOutput) ElementType

func (DeviceOutput) ElementType() reflect.Type

func (DeviceOutput) Fingerprint

func (o DeviceOutput) Fingerprint() pulumi.StringOutput

Specifies a fingerprint of X.509 certificate for identity authentication, which is a 40-digit or 64-digit hexadecimal string. For more detail, please see [Registering a Device Authenticated by an X.509 Certificate](https://support.huaweicloud.com/en-us/usermanual-iothub/iot_01_0055.html).

func (DeviceOutput) Frozen

func (o DeviceOutput) Frozen() pulumi.BoolOutput

Specifies whether to freeze the device. Defaults to `false`.

func (DeviceOutput) GatewayId

func (o DeviceOutput) GatewayId() pulumi.StringOutput

Specifies the gateway ID which is the device ID of the parent device. The child device is not directly connected to the platform. If omitted, it means to create a device directly connected to the platform, the `deviceId` of the device is the same as the `gatewayId`.

func (DeviceOutput) Name

func (o DeviceOutput) Name() pulumi.StringOutput

Specifies the device name, which contains 4 to 256 characters. Only letters, Chinese characters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.

func (DeviceOutput) NodeId

func (o DeviceOutput) NodeId() pulumi.StringOutput

Specifies the node ID, which contains 4 to 256 characters. The node ID can be IMEI, MAC address, or serial number. Changing this parameter will create a new resource.

func (DeviceOutput) NodeType

func (o DeviceOutput) NodeType() pulumi.StringOutput

The node type of device. The options are as follows: + **GATEWAY**: Directly connected device. + **ENDPOINT**: Indirectly connected device. + **UNKNOWN**: Unknown type.

func (DeviceOutput) ProductId

func (o DeviceOutput) ProductId() pulumi.StringOutput

Specifies the product ID which the device belongs to. Changing this parameter will create a new resource.

func (DeviceOutput) Region

func (o DeviceOutput) Region() pulumi.StringOutput

Specifies the region in which to create the IoTDA device resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

func (DeviceOutput) Secret

func (o DeviceOutput) Secret() pulumi.StringOutput

Specifies a secret for identity authentication, which contains 8 to 32 characters. Only letters, digits, hyphens (-) and underscore (_) are allowed.

func (DeviceOutput) SpaceId

func (o DeviceOutput) SpaceId() pulumi.StringOutput

Specifies the resource space ID which the device belongs to. Changing this parameter will create a new resource.

func (DeviceOutput) Status

func (o DeviceOutput) Status() pulumi.StringOutput

The status of device. The valid values are **INACTIVE**, **ONLINE**, **OFFLINE**, **FROZEN**, **ABNORMAL**.

func (DeviceOutput) Tags

Specifies the key/value pairs to associate with the device.

func (DeviceOutput) ToDeviceOutput

func (o DeviceOutput) ToDeviceOutput() DeviceOutput

func (DeviceOutput) ToDeviceOutputWithContext

func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput

type DeviceState

type DeviceState struct {
	// The authentication type of device. The options are as follows:
	// + **SECRET**: Use a secret for identity authentication.
	// + **CERTIFICATES**: Use an x.509 certificate for identity authentication.
	AuthType pulumi.StringPtrInput
	// Specifies the description of device. The description contains a maximum of 2048
	// characters. Only letters, Chinese characters, digits, hyphens (-), underscore (_) and the following special characters
	// are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput
	// Specifies the device ID, which contains 4 to 256 characters.
	// Only letters, digits, hyphens (-) and underscore (_) are allowed. If omitted, the platform will automatically allocate
	// a device ID. Changing this parameter will create a new resource.
	DeviceId pulumi.StringPtrInput
	// Specifies a fingerprint of X.509 certificate for identity authentication,
	// which is a 40-digit or 64-digit hexadecimal string. For more detail, please see
	// [Registering a Device Authenticated by an X.509 Certificate](https://support.huaweicloud.com/en-us/usermanual-iothub/iot_01_0055.html).
	Fingerprint pulumi.StringPtrInput
	// Specifies whether to freeze the device. Defaults to `false`.
	Frozen pulumi.BoolPtrInput
	// Specifies the gateway ID which is the device ID of the parent device.
	// The child device is not directly connected to the platform. If omitted, it means to create a device directly connected
	// to the platform, the `deviceId` of the device is the same as the `gatewayId`.
	GatewayId pulumi.StringPtrInput
	// Specifies the device name, which contains 4 to 256 characters. Only letters,
	// Chinese characters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.
	Name pulumi.StringPtrInput
	// Specifies the node ID, which contains 4 to 256 characters.
	// The node ID can be IMEI, MAC address, or serial number. Changing this parameter will create a new resource.
	NodeId pulumi.StringPtrInput
	// The node type of device. The options are as follows:
	// + **GATEWAY**: Directly connected device.
	// + **ENDPOINT**: Indirectly connected device.
	// + **UNKNOWN**: Unknown type.
	NodeType pulumi.StringPtrInput
	// Specifies the product ID which the device belongs to.
	// Changing this parameter will create a new resource.
	ProductId pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA device resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies a secret for identity authentication, which contains 8 to 32 characters.
	// Only letters, digits, hyphens (-) and underscore (_) are allowed.
	Secret pulumi.StringPtrInput
	// Specifies the resource space ID which the device belongs to.
	// Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
	// The status of device. The valid values are **INACTIVE**, **ONLINE**, **OFFLINE**, **FROZEN**, **ABNORMAL**.
	Status pulumi.StringPtrInput
	// Specifies the key/value pairs to associate with the device.
	Tags pulumi.StringMapInput
}

func (DeviceState) ElementType

func (DeviceState) ElementType() reflect.Type

type Product

type Product struct {
	pulumi.CustomResourceState

	// Specifies the type of data.
	// The valid values are **json** and **binary**.
	DataType pulumi.StringOutput `pulumi:"dataType"`
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the device type. The device type contains a maximum of 32 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters
	// are allowed: `?'#().,&%@!`. Example: StreetLight, GasMeter, or WaterMeter.
	DeviceType pulumi.StringOutput `pulumi:"deviceType"`
	// Specifies the industry which the device belongs to. The industry contains a maximum of
	// 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and
	// the following special characters are allowed: `?'#().,&%@!`.
	Industry pulumi.StringOutput `pulumi:"industry"`
	// Specifies the manufacturer name. The name contains a maximum of 32 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	ManufacturerName pulumi.StringOutput `pulumi:"manufacturerName"`
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the product ID. The product ID contains a maximum of 32
	// characters. Only letters, digits, hyphens (-) and underscores (_) are allowed. If omitted, the platform will
	// automatically allocate a product ID. Changing this parameter will create a new resource.
	ProductId pulumi.StringOutput `pulumi:"productId"`
	// Specifies the protocol.
	// The valid values are **MQTT**, **CoAP**, **HTTP**, **HTTPS**, **Modbus**, **ONVIF**, **OPC-UA**, **OPC-DA**, **Other**.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Specifies the region in which to create the IoTDA product resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the list of services.
	// The services structure is documented below.
	Services ProductServiceArrayOutput `pulumi:"services"`
	// Specifies the resource space ID which the product belongs to. If omitted,
	// the product will belong to the default resource space. Changing this parameter will create a new resource.
	SpaceId pulumi.StringOutput `pulumi:"spaceId"`
}

Manages an IoTDA product within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		productName := cfg.RequireObject("productName")
		_, err := IoTDA.NewSpace(ctx, "space", nil)
		if err != nil {
			return err
		}
		_, err = IoTDA.NewProduct(ctx, "test", &IoTDA.ProductArgs{
			DeviceType:       pulumi.String("WaterMeter"),
			Protocol:         pulumi.String("MQTT"),
			SpaceId:          pulumi.Any(huaweicloud_iotda_space.Test.Id),
			DataType:         pulumi.String("json"),
			ManufacturerName: pulumi.String("demo_manufacturer_name"),
			Industry:         pulumi.String("demo_industry"),
			Services: iotda.ProductServiceArray{
				&iotda.ProductServiceArgs{
					Id:   pulumi.String("service_1"),
					Type: pulumi.String("serv_type"),
					Properties: iotda.ProductServicePropertyArray{
						&iotda.ProductServicePropertyArgs{
							Name:        pulumi.String("p_1"),
							Type:        pulumi.String("int"),
							Min:         pulumi.String("3"),
							Max:         pulumi.String("666"),
							Description: pulumi.String("desc"),
							Method:      pulumi.String("RW"),
						},
						&iotda.ProductServicePropertyArgs{
							Name:      pulumi.String("p_2"),
							Type:      pulumi.String("string"),
							MaxLength: pulumi.Int(20),
							EnumLists: pulumi.StringArray{
								pulumi.String("1"),
								pulumi.String("E"),
							},
							Method: pulumi.String("R"),
						},
						&iotda.ProductServicePropertyArgs{
							Name:      pulumi.String("p_3"),
							Type:      pulumi.String("string"),
							Method:    pulumi.String("W"),
							MaxLength: pulumi.Int(200),
						},
						&iotda.ProductServicePropertyArgs{
							Name:   pulumi.String("p_4"),
							Type:   pulumi.String("decimal"),
							Method: pulumi.String("W"),
							Min:    pulumi.String("3.1"),
							Max:    pulumi.String("666.99"),
						},
					},
					Commands: iotda.ProductServiceCommandArray{
						&iotda.ProductServiceCommandArgs{
							Name: pulumi.String("cmd_1"),
							Paras: iotda.ProductServiceCommandParaArray{
								&iotda.ProductServiceCommandParaArgs{
									Name:        pulumi.String("cmd_p_1"),
									Type:        pulumi.String("int"),
									Description: pulumi.String("desc"),
									Min:         pulumi.String("1"),
									Max:         pulumi.String("33"),
								},
							},
							Responses: iotda.ProductServiceCommandResponseArray{
								&iotda.ProductServiceCommandResponseArgs{
									Name:        pulumi.String("cmd_r_1"),
									Type:        pulumi.String("int"),
									Description: pulumi.String("desc"),
									Min:         pulumi.String("1"),
									Max:         pulumi.String("22"),
								},
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Products can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/product:Product test 10022532f4f94f26b01daa1e424853e1

```

func GetProduct

func GetProduct(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProductState, opts ...pulumi.ResourceOption) (*Product, error)

GetProduct gets an existing Product 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 NewProduct

func NewProduct(ctx *pulumi.Context,
	name string, args *ProductArgs, opts ...pulumi.ResourceOption) (*Product, error)

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

func (*Product) ElementType

func (*Product) ElementType() reflect.Type

func (*Product) ToProductOutput

func (i *Product) ToProductOutput() ProductOutput

func (*Product) ToProductOutputWithContext

func (i *Product) ToProductOutputWithContext(ctx context.Context) ProductOutput

type ProductArgs

type ProductArgs struct {
	// Specifies the type of data.
	// The valid values are **json** and **binary**.
	DataType pulumi.StringInput
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput
	// Specifies the device type. The device type contains a maximum of 32 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters
	// are allowed: `?'#().,&%@!`. Example: StreetLight, GasMeter, or WaterMeter.
	DeviceType pulumi.StringInput
	// Specifies the industry which the device belongs to. The industry contains a maximum of
	// 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and
	// the following special characters are allowed: `?'#().,&%@!`.
	Industry pulumi.StringPtrInput
	// Specifies the manufacturer name. The name contains a maximum of 32 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	ManufacturerName pulumi.StringPtrInput
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringPtrInput
	// Specifies the product ID. The product ID contains a maximum of 32
	// characters. Only letters, digits, hyphens (-) and underscores (_) are allowed. If omitted, the platform will
	// automatically allocate a product ID. Changing this parameter will create a new resource.
	ProductId pulumi.StringPtrInput
	// Specifies the protocol.
	// The valid values are **MQTT**, **CoAP**, **HTTP**, **HTTPS**, **Modbus**, **ONVIF**, **OPC-UA**, **OPC-DA**, **Other**.
	Protocol pulumi.StringInput
	// Specifies the region in which to create the IoTDA product resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies the list of services.
	// The services structure is documented below.
	Services ProductServiceArrayInput
	// Specifies the resource space ID which the product belongs to. If omitted,
	// the product will belong to the default resource space. Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
}

The set of arguments for constructing a Product resource.

func (ProductArgs) ElementType

func (ProductArgs) ElementType() reflect.Type

type ProductArray

type ProductArray []ProductInput

func (ProductArray) ElementType

func (ProductArray) ElementType() reflect.Type

func (ProductArray) ToProductArrayOutput

func (i ProductArray) ToProductArrayOutput() ProductArrayOutput

func (ProductArray) ToProductArrayOutputWithContext

func (i ProductArray) ToProductArrayOutputWithContext(ctx context.Context) ProductArrayOutput

type ProductArrayInput

type ProductArrayInput interface {
	pulumi.Input

	ToProductArrayOutput() ProductArrayOutput
	ToProductArrayOutputWithContext(context.Context) ProductArrayOutput
}

ProductArrayInput is an input type that accepts ProductArray and ProductArrayOutput values. You can construct a concrete instance of `ProductArrayInput` via:

ProductArray{ ProductArgs{...} }

type ProductArrayOutput

type ProductArrayOutput struct{ *pulumi.OutputState }

func (ProductArrayOutput) ElementType

func (ProductArrayOutput) ElementType() reflect.Type

func (ProductArrayOutput) Index

func (ProductArrayOutput) ToProductArrayOutput

func (o ProductArrayOutput) ToProductArrayOutput() ProductArrayOutput

func (ProductArrayOutput) ToProductArrayOutputWithContext

func (o ProductArrayOutput) ToProductArrayOutputWithContext(ctx context.Context) ProductArrayOutput

type ProductInput

type ProductInput interface {
	pulumi.Input

	ToProductOutput() ProductOutput
	ToProductOutputWithContext(ctx context.Context) ProductOutput
}

type ProductMap

type ProductMap map[string]ProductInput

func (ProductMap) ElementType

func (ProductMap) ElementType() reflect.Type

func (ProductMap) ToProductMapOutput

func (i ProductMap) ToProductMapOutput() ProductMapOutput

func (ProductMap) ToProductMapOutputWithContext

func (i ProductMap) ToProductMapOutputWithContext(ctx context.Context) ProductMapOutput

type ProductMapInput

type ProductMapInput interface {
	pulumi.Input

	ToProductMapOutput() ProductMapOutput
	ToProductMapOutputWithContext(context.Context) ProductMapOutput
}

ProductMapInput is an input type that accepts ProductMap and ProductMapOutput values. You can construct a concrete instance of `ProductMapInput` via:

ProductMap{ "key": ProductArgs{...} }

type ProductMapOutput

type ProductMapOutput struct{ *pulumi.OutputState }

func (ProductMapOutput) ElementType

func (ProductMapOutput) ElementType() reflect.Type

func (ProductMapOutput) MapIndex

func (ProductMapOutput) ToProductMapOutput

func (o ProductMapOutput) ToProductMapOutput() ProductMapOutput

func (ProductMapOutput) ToProductMapOutputWithContext

func (o ProductMapOutput) ToProductMapOutputWithContext(ctx context.Context) ProductMapOutput

type ProductOutput

type ProductOutput struct{ *pulumi.OutputState }

func (ProductOutput) DataType

func (o ProductOutput) DataType() pulumi.StringOutput

Specifies the type of data. The valid values are **json** and **binary**.

func (ProductOutput) Description

func (o ProductOutput) Description() pulumi.StringPtrOutput

Specifies the description of the parameter. The description contains a maximum of 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductOutput) DeviceType

func (o ProductOutput) DeviceType() pulumi.StringOutput

Specifies the device type. The device type contains a maximum of 32 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`. Example: StreetLight, GasMeter, or WaterMeter.

func (ProductOutput) ElementType

func (ProductOutput) ElementType() reflect.Type

func (ProductOutput) Industry

func (o ProductOutput) Industry() pulumi.StringOutput

Specifies the industry which the device belongs to. The industry contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductOutput) ManufacturerName

func (o ProductOutput) ManufacturerName() pulumi.StringOutput

Specifies the manufacturer name. The name contains a maximum of 32 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductOutput) Name

Specifies the name of the parameter. The name contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductOutput) ProductId

func (o ProductOutput) ProductId() pulumi.StringOutput

Specifies the product ID. The product ID contains a maximum of 32 characters. Only letters, digits, hyphens (-) and underscores (_) are allowed. If omitted, the platform will automatically allocate a product ID. Changing this parameter will create a new resource.

func (ProductOutput) Protocol

func (o ProductOutput) Protocol() pulumi.StringOutput

Specifies the protocol. The valid values are **MQTT**, **CoAP**, **HTTP**, **HTTPS**, **Modbus**, **ONVIF**, **OPC-UA**, **OPC-DA**, **Other**.

func (ProductOutput) Region

func (o ProductOutput) Region() pulumi.StringOutput

Specifies the region in which to create the IoTDA product resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

func (ProductOutput) Services

Specifies the list of services. The services structure is documented below.

func (ProductOutput) SpaceId

func (o ProductOutput) SpaceId() pulumi.StringOutput

Specifies the resource space ID which the product belongs to. If omitted, the product will belong to the default resource space. Changing this parameter will create a new resource.

func (ProductOutput) ToProductOutput

func (o ProductOutput) ToProductOutput() ProductOutput

func (ProductOutput) ToProductOutputWithContext

func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOutput

type ProductService

type ProductService struct {
	// Specifies the list of commands for the service.
	// The commands structure is documented below.
	Commands []ProductServiceCommand `pulumi:"commands"`
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description *string `pulumi:"description"`
	// Specifies the service ID. The ID contains a maximum of 64 characters. Only letters,
	// Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.
	Id string `pulumi:"id"`
	// Specifies the list of properties for the service.
	// The properties structure is documented below.
	Properties []ProductServiceProperty `pulumi:"properties"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type *string `pulumi:"type"`
}

type ProductServiceArgs

type ProductServiceArgs struct {
	// Specifies the list of commands for the service.
	// The commands structure is documented below.
	Commands ProductServiceCommandArrayInput `pulumi:"commands"`
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Specifies the service ID. The ID contains a maximum of 64 characters. Only letters,
	// Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.
	Id pulumi.StringInput `pulumi:"id"`
	// Specifies the list of properties for the service.
	// The properties structure is documented below.
	Properties ProductServicePropertyArrayInput `pulumi:"properties"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ProductServiceArgs) ElementType

func (ProductServiceArgs) ElementType() reflect.Type

func (ProductServiceArgs) ToProductServiceOutput

func (i ProductServiceArgs) ToProductServiceOutput() ProductServiceOutput

func (ProductServiceArgs) ToProductServiceOutputWithContext

func (i ProductServiceArgs) ToProductServiceOutputWithContext(ctx context.Context) ProductServiceOutput

type ProductServiceArray

type ProductServiceArray []ProductServiceInput

func (ProductServiceArray) ElementType

func (ProductServiceArray) ElementType() reflect.Type

func (ProductServiceArray) ToProductServiceArrayOutput

func (i ProductServiceArray) ToProductServiceArrayOutput() ProductServiceArrayOutput

func (ProductServiceArray) ToProductServiceArrayOutputWithContext

func (i ProductServiceArray) ToProductServiceArrayOutputWithContext(ctx context.Context) ProductServiceArrayOutput

type ProductServiceArrayInput

type ProductServiceArrayInput interface {
	pulumi.Input

	ToProductServiceArrayOutput() ProductServiceArrayOutput
	ToProductServiceArrayOutputWithContext(context.Context) ProductServiceArrayOutput
}

ProductServiceArrayInput is an input type that accepts ProductServiceArray and ProductServiceArrayOutput values. You can construct a concrete instance of `ProductServiceArrayInput` via:

ProductServiceArray{ ProductServiceArgs{...} }

type ProductServiceArrayOutput

type ProductServiceArrayOutput struct{ *pulumi.OutputState }

func (ProductServiceArrayOutput) ElementType

func (ProductServiceArrayOutput) ElementType() reflect.Type

func (ProductServiceArrayOutput) Index

func (ProductServiceArrayOutput) ToProductServiceArrayOutput

func (o ProductServiceArrayOutput) ToProductServiceArrayOutput() ProductServiceArrayOutput

func (ProductServiceArrayOutput) ToProductServiceArrayOutputWithContext

func (o ProductServiceArrayOutput) ToProductServiceArrayOutputWithContext(ctx context.Context) ProductServiceArrayOutput

type ProductServiceCommand

type ProductServiceCommand struct {
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name string `pulumi:"name"`
	// Specifies the list of parameters for the command.
	// The paras structure is documented below.
	Paras []ProductServiceCommandPara `pulumi:"paras"`
	// Specifies the list of responses for the command.
	// The responses structure is documented below.
	Responses []ProductServiceCommandResponse `pulumi:"responses"`
}

type ProductServiceCommandArgs

type ProductServiceCommandArgs struct {
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the list of parameters for the command.
	// The paras structure is documented below.
	Paras ProductServiceCommandParaArrayInput `pulumi:"paras"`
	// Specifies the list of responses for the command.
	// The responses structure is documented below.
	Responses ProductServiceCommandResponseArrayInput `pulumi:"responses"`
}

func (ProductServiceCommandArgs) ElementType

func (ProductServiceCommandArgs) ElementType() reflect.Type

func (ProductServiceCommandArgs) ToProductServiceCommandOutput

func (i ProductServiceCommandArgs) ToProductServiceCommandOutput() ProductServiceCommandOutput

func (ProductServiceCommandArgs) ToProductServiceCommandOutputWithContext

func (i ProductServiceCommandArgs) ToProductServiceCommandOutputWithContext(ctx context.Context) ProductServiceCommandOutput

type ProductServiceCommandArray

type ProductServiceCommandArray []ProductServiceCommandInput

func (ProductServiceCommandArray) ElementType

func (ProductServiceCommandArray) ElementType() reflect.Type

func (ProductServiceCommandArray) ToProductServiceCommandArrayOutput

func (i ProductServiceCommandArray) ToProductServiceCommandArrayOutput() ProductServiceCommandArrayOutput

func (ProductServiceCommandArray) ToProductServiceCommandArrayOutputWithContext

func (i ProductServiceCommandArray) ToProductServiceCommandArrayOutputWithContext(ctx context.Context) ProductServiceCommandArrayOutput

type ProductServiceCommandArrayInput

type ProductServiceCommandArrayInput interface {
	pulumi.Input

	ToProductServiceCommandArrayOutput() ProductServiceCommandArrayOutput
	ToProductServiceCommandArrayOutputWithContext(context.Context) ProductServiceCommandArrayOutput
}

ProductServiceCommandArrayInput is an input type that accepts ProductServiceCommandArray and ProductServiceCommandArrayOutput values. You can construct a concrete instance of `ProductServiceCommandArrayInput` via:

ProductServiceCommandArray{ ProductServiceCommandArgs{...} }

type ProductServiceCommandArrayOutput

type ProductServiceCommandArrayOutput struct{ *pulumi.OutputState }

func (ProductServiceCommandArrayOutput) ElementType

func (ProductServiceCommandArrayOutput) Index

func (ProductServiceCommandArrayOutput) ToProductServiceCommandArrayOutput

func (o ProductServiceCommandArrayOutput) ToProductServiceCommandArrayOutput() ProductServiceCommandArrayOutput

func (ProductServiceCommandArrayOutput) ToProductServiceCommandArrayOutputWithContext

func (o ProductServiceCommandArrayOutput) ToProductServiceCommandArrayOutputWithContext(ctx context.Context) ProductServiceCommandArrayOutput

type ProductServiceCommandInput

type ProductServiceCommandInput interface {
	pulumi.Input

	ToProductServiceCommandOutput() ProductServiceCommandOutput
	ToProductServiceCommandOutputWithContext(context.Context) ProductServiceCommandOutput
}

ProductServiceCommandInput is an input type that accepts ProductServiceCommandArgs and ProductServiceCommandOutput values. You can construct a concrete instance of `ProductServiceCommandInput` via:

ProductServiceCommandArgs{...}

type ProductServiceCommandOutput

type ProductServiceCommandOutput struct{ *pulumi.OutputState }

func (ProductServiceCommandOutput) ElementType

func (ProductServiceCommandOutput) Name

Specifies the name of the parameter. The name contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServiceCommandOutput) Paras

Specifies the list of parameters for the command. The paras structure is documented below.

func (ProductServiceCommandOutput) Responses

Specifies the list of responses for the command. The responses structure is documented below.

func (ProductServiceCommandOutput) ToProductServiceCommandOutput

func (o ProductServiceCommandOutput) ToProductServiceCommandOutput() ProductServiceCommandOutput

func (ProductServiceCommandOutput) ToProductServiceCommandOutputWithContext

func (o ProductServiceCommandOutput) ToProductServiceCommandOutputWithContext(ctx context.Context) ProductServiceCommandOutput

type ProductServiceCommandPara

type ProductServiceCommandPara struct {
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description *string `pulumi:"description"`
	// Specifies the list of enumerated values of the parameter.
	EnumLists []string `pulumi:"enumLists"`
	// Specifies the max value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
	Max *string `pulumi:"max"`
	// Specifies the max length of the parameter when the `type` is **string**, **DateTime**,
	// **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.
	MaxLength *int `pulumi:"maxLength"`
	// Specifies the min value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
	Min *string `pulumi:"min"`
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name string `pulumi:"name"`
	// Specifies the step of the parameter when the `type` is **int** or **decimal**.
	// Value range: 0 ~ 2147483647. Defaults to **0**.
	Step *float64 `pulumi:"step"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type string `pulumi:"type"`
	// Specifies the unit of the parameter when the `type` is **int** or **decimal**.
	// The unit contains a maximum of 16 characters.
	Unit *string `pulumi:"unit"`
}

type ProductServiceCommandParaArgs

type ProductServiceCommandParaArgs struct {
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Specifies the list of enumerated values of the parameter.
	EnumLists pulumi.StringArrayInput `pulumi:"enumLists"`
	// Specifies the max value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
	Max pulumi.StringPtrInput `pulumi:"max"`
	// Specifies the max length of the parameter when the `type` is **string**, **DateTime**,
	// **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.
	MaxLength pulumi.IntPtrInput `pulumi:"maxLength"`
	// Specifies the min value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
	Min pulumi.StringPtrInput `pulumi:"min"`
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the step of the parameter when the `type` is **int** or **decimal**.
	// Value range: 0 ~ 2147483647. Defaults to **0**.
	Step pulumi.Float64PtrInput `pulumi:"step"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type pulumi.StringInput `pulumi:"type"`
	// Specifies the unit of the parameter when the `type` is **int** or **decimal**.
	// The unit contains a maximum of 16 characters.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

func (ProductServiceCommandParaArgs) ElementType

func (ProductServiceCommandParaArgs) ToProductServiceCommandParaOutput

func (i ProductServiceCommandParaArgs) ToProductServiceCommandParaOutput() ProductServiceCommandParaOutput

func (ProductServiceCommandParaArgs) ToProductServiceCommandParaOutputWithContext

func (i ProductServiceCommandParaArgs) ToProductServiceCommandParaOutputWithContext(ctx context.Context) ProductServiceCommandParaOutput

type ProductServiceCommandParaArray

type ProductServiceCommandParaArray []ProductServiceCommandParaInput

func (ProductServiceCommandParaArray) ElementType

func (ProductServiceCommandParaArray) ToProductServiceCommandParaArrayOutput

func (i ProductServiceCommandParaArray) ToProductServiceCommandParaArrayOutput() ProductServiceCommandParaArrayOutput

func (ProductServiceCommandParaArray) ToProductServiceCommandParaArrayOutputWithContext

func (i ProductServiceCommandParaArray) ToProductServiceCommandParaArrayOutputWithContext(ctx context.Context) ProductServiceCommandParaArrayOutput

type ProductServiceCommandParaArrayInput

type ProductServiceCommandParaArrayInput interface {
	pulumi.Input

	ToProductServiceCommandParaArrayOutput() ProductServiceCommandParaArrayOutput
	ToProductServiceCommandParaArrayOutputWithContext(context.Context) ProductServiceCommandParaArrayOutput
}

ProductServiceCommandParaArrayInput is an input type that accepts ProductServiceCommandParaArray and ProductServiceCommandParaArrayOutput values. You can construct a concrete instance of `ProductServiceCommandParaArrayInput` via:

ProductServiceCommandParaArray{ ProductServiceCommandParaArgs{...} }

type ProductServiceCommandParaArrayOutput

type ProductServiceCommandParaArrayOutput struct{ *pulumi.OutputState }

func (ProductServiceCommandParaArrayOutput) ElementType

func (ProductServiceCommandParaArrayOutput) Index

func (ProductServiceCommandParaArrayOutput) ToProductServiceCommandParaArrayOutput

func (o ProductServiceCommandParaArrayOutput) ToProductServiceCommandParaArrayOutput() ProductServiceCommandParaArrayOutput

func (ProductServiceCommandParaArrayOutput) ToProductServiceCommandParaArrayOutputWithContext

func (o ProductServiceCommandParaArrayOutput) ToProductServiceCommandParaArrayOutputWithContext(ctx context.Context) ProductServiceCommandParaArrayOutput

type ProductServiceCommandParaInput

type ProductServiceCommandParaInput interface {
	pulumi.Input

	ToProductServiceCommandParaOutput() ProductServiceCommandParaOutput
	ToProductServiceCommandParaOutputWithContext(context.Context) ProductServiceCommandParaOutput
}

ProductServiceCommandParaInput is an input type that accepts ProductServiceCommandParaArgs and ProductServiceCommandParaOutput values. You can construct a concrete instance of `ProductServiceCommandParaInput` via:

ProductServiceCommandParaArgs{...}

type ProductServiceCommandParaOutput

type ProductServiceCommandParaOutput struct{ *pulumi.OutputState }

func (ProductServiceCommandParaOutput) Description

Specifies the description of the parameter. The description contains a maximum of 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServiceCommandParaOutput) ElementType

func (ProductServiceCommandParaOutput) EnumLists

Specifies the list of enumerated values of the parameter.

func (ProductServiceCommandParaOutput) Max

Specifies the max value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.

func (ProductServiceCommandParaOutput) MaxLength

Specifies the max length of the parameter when the `type` is **string**, **DateTime**, **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.

func (ProductServiceCommandParaOutput) Min

Specifies the min value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.

func (ProductServiceCommandParaOutput) Name

Specifies the name of the parameter. The name contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServiceCommandParaOutput) Step

Specifies the step of the parameter when the `type` is **int** or **decimal**. Value range: 0 ~ 2147483647. Defaults to **0**.

func (ProductServiceCommandParaOutput) ToProductServiceCommandParaOutput

func (o ProductServiceCommandParaOutput) ToProductServiceCommandParaOutput() ProductServiceCommandParaOutput

func (ProductServiceCommandParaOutput) ToProductServiceCommandParaOutputWithContext

func (o ProductServiceCommandParaOutput) ToProductServiceCommandParaOutputWithContext(ctx context.Context) ProductServiceCommandParaOutput

func (ProductServiceCommandParaOutput) Type

Specifies the type of the parameter. The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.

func (ProductServiceCommandParaOutput) Unit

Specifies the unit of the parameter when the `type` is **int** or **decimal**. The unit contains a maximum of 16 characters.

type ProductServiceCommandResponse

type ProductServiceCommandResponse struct {
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description *string `pulumi:"description"`
	// Specifies the list of enumerated values of the parameter.
	EnumLists []string `pulumi:"enumLists"`
	// Specifies the max value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
	Max *string `pulumi:"max"`
	// Specifies the max length of the parameter when the `type` is **string**, **DateTime**,
	// **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.
	MaxLength *int `pulumi:"maxLength"`
	// Specifies the min value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
	Min *string `pulumi:"min"`
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name string `pulumi:"name"`
	// Specifies the step of the parameter when the `type` is **int** or **decimal**.
	// Value range: 0 ~ 2147483647. Defaults to **0**.
	Step *float64 `pulumi:"step"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type string `pulumi:"type"`
	// Specifies the unit of the parameter when the `type` is **int** or **decimal**.
	// The unit contains a maximum of 16 characters.
	Unit *string `pulumi:"unit"`
}

type ProductServiceCommandResponseArgs

type ProductServiceCommandResponseArgs struct {
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Specifies the list of enumerated values of the parameter.
	EnumLists pulumi.StringArrayInput `pulumi:"enumLists"`
	// Specifies the max value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
	Max pulumi.StringPtrInput `pulumi:"max"`
	// Specifies the max length of the parameter when the `type` is **string**, **DateTime**,
	// **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.
	MaxLength pulumi.IntPtrInput `pulumi:"maxLength"`
	// Specifies the min value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
	Min pulumi.StringPtrInput `pulumi:"min"`
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the step of the parameter when the `type` is **int** or **decimal**.
	// Value range: 0 ~ 2147483647. Defaults to **0**.
	Step pulumi.Float64PtrInput `pulumi:"step"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type pulumi.StringInput `pulumi:"type"`
	// Specifies the unit of the parameter when the `type` is **int** or **decimal**.
	// The unit contains a maximum of 16 characters.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

func (ProductServiceCommandResponseArgs) ElementType

func (ProductServiceCommandResponseArgs) ToProductServiceCommandResponseOutput

func (i ProductServiceCommandResponseArgs) ToProductServiceCommandResponseOutput() ProductServiceCommandResponseOutput

func (ProductServiceCommandResponseArgs) ToProductServiceCommandResponseOutputWithContext

func (i ProductServiceCommandResponseArgs) ToProductServiceCommandResponseOutputWithContext(ctx context.Context) ProductServiceCommandResponseOutput

type ProductServiceCommandResponseArray

type ProductServiceCommandResponseArray []ProductServiceCommandResponseInput

func (ProductServiceCommandResponseArray) ElementType

func (ProductServiceCommandResponseArray) ToProductServiceCommandResponseArrayOutput

func (i ProductServiceCommandResponseArray) ToProductServiceCommandResponseArrayOutput() ProductServiceCommandResponseArrayOutput

func (ProductServiceCommandResponseArray) ToProductServiceCommandResponseArrayOutputWithContext

func (i ProductServiceCommandResponseArray) ToProductServiceCommandResponseArrayOutputWithContext(ctx context.Context) ProductServiceCommandResponseArrayOutput

type ProductServiceCommandResponseArrayInput

type ProductServiceCommandResponseArrayInput interface {
	pulumi.Input

	ToProductServiceCommandResponseArrayOutput() ProductServiceCommandResponseArrayOutput
	ToProductServiceCommandResponseArrayOutputWithContext(context.Context) ProductServiceCommandResponseArrayOutput
}

ProductServiceCommandResponseArrayInput is an input type that accepts ProductServiceCommandResponseArray and ProductServiceCommandResponseArrayOutput values. You can construct a concrete instance of `ProductServiceCommandResponseArrayInput` via:

ProductServiceCommandResponseArray{ ProductServiceCommandResponseArgs{...} }

type ProductServiceCommandResponseArrayOutput

type ProductServiceCommandResponseArrayOutput struct{ *pulumi.OutputState }

func (ProductServiceCommandResponseArrayOutput) ElementType

func (ProductServiceCommandResponseArrayOutput) Index

func (ProductServiceCommandResponseArrayOutput) ToProductServiceCommandResponseArrayOutput

func (o ProductServiceCommandResponseArrayOutput) ToProductServiceCommandResponseArrayOutput() ProductServiceCommandResponseArrayOutput

func (ProductServiceCommandResponseArrayOutput) ToProductServiceCommandResponseArrayOutputWithContext

func (o ProductServiceCommandResponseArrayOutput) ToProductServiceCommandResponseArrayOutputWithContext(ctx context.Context) ProductServiceCommandResponseArrayOutput

type ProductServiceCommandResponseInput

type ProductServiceCommandResponseInput interface {
	pulumi.Input

	ToProductServiceCommandResponseOutput() ProductServiceCommandResponseOutput
	ToProductServiceCommandResponseOutputWithContext(context.Context) ProductServiceCommandResponseOutput
}

ProductServiceCommandResponseInput is an input type that accepts ProductServiceCommandResponseArgs and ProductServiceCommandResponseOutput values. You can construct a concrete instance of `ProductServiceCommandResponseInput` via:

ProductServiceCommandResponseArgs{...}

type ProductServiceCommandResponseOutput

type ProductServiceCommandResponseOutput struct{ *pulumi.OutputState }

func (ProductServiceCommandResponseOutput) Description

Specifies the description of the parameter. The description contains a maximum of 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServiceCommandResponseOutput) ElementType

func (ProductServiceCommandResponseOutput) EnumLists

Specifies the list of enumerated values of the parameter.

func (ProductServiceCommandResponseOutput) Max

Specifies the max value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.

func (ProductServiceCommandResponseOutput) MaxLength

Specifies the max length of the parameter when the `type` is **string**, **DateTime**, **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.

func (ProductServiceCommandResponseOutput) Min

Specifies the min value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.

func (ProductServiceCommandResponseOutput) Name

Specifies the name of the parameter. The name contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServiceCommandResponseOutput) Step

Specifies the step of the parameter when the `type` is **int** or **decimal**. Value range: 0 ~ 2147483647. Defaults to **0**.

func (ProductServiceCommandResponseOutput) ToProductServiceCommandResponseOutput

func (o ProductServiceCommandResponseOutput) ToProductServiceCommandResponseOutput() ProductServiceCommandResponseOutput

func (ProductServiceCommandResponseOutput) ToProductServiceCommandResponseOutputWithContext

func (o ProductServiceCommandResponseOutput) ToProductServiceCommandResponseOutputWithContext(ctx context.Context) ProductServiceCommandResponseOutput

func (ProductServiceCommandResponseOutput) Type

Specifies the type of the parameter. The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.

func (ProductServiceCommandResponseOutput) Unit

Specifies the unit of the parameter when the `type` is **int** or **decimal**. The unit contains a maximum of 16 characters.

type ProductServiceInput

type ProductServiceInput interface {
	pulumi.Input

	ToProductServiceOutput() ProductServiceOutput
	ToProductServiceOutputWithContext(context.Context) ProductServiceOutput
}

ProductServiceInput is an input type that accepts ProductServiceArgs and ProductServiceOutput values. You can construct a concrete instance of `ProductServiceInput` via:

ProductServiceArgs{...}

type ProductServiceOutput

type ProductServiceOutput struct{ *pulumi.OutputState }

func (ProductServiceOutput) Commands

Specifies the list of commands for the service. The commands structure is documented below.

func (ProductServiceOutput) Description

Specifies the description of the parameter. The description contains a maximum of 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServiceOutput) ElementType

func (ProductServiceOutput) ElementType() reflect.Type

func (ProductServiceOutput) Id

Specifies the service ID. The ID contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServiceOutput) Properties

Specifies the list of properties for the service. The properties structure is documented below.

func (ProductServiceOutput) ToProductServiceOutput

func (o ProductServiceOutput) ToProductServiceOutput() ProductServiceOutput

func (ProductServiceOutput) ToProductServiceOutputWithContext

func (o ProductServiceOutput) ToProductServiceOutputWithContext(ctx context.Context) ProductServiceOutput

func (ProductServiceOutput) Type

Specifies the type of the parameter. The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.

type ProductServiceProperty

type ProductServiceProperty struct {
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description *string `pulumi:"description"`
	// Specifies the list of enumerated values of the parameter.
	EnumLists []string `pulumi:"enumLists"`
	// Specifies the max value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
	Max *string `pulumi:"max"`
	// Specifies the max length of the parameter when the `type` is **string**, **DateTime**,
	// **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.
	MaxLength *int `pulumi:"maxLength"`
	// Specifies the access mode of the device property.
	// Options: **RW**, **W**, **R**.
	Method string `pulumi:"method"`
	// Specifies the min value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
	Min *string `pulumi:"min"`
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name string `pulumi:"name"`
	// Specifies the step of the parameter when the `type` is **int** or **decimal**.
	// Value range: 0 ~ 2147483647. Defaults to **0**.
	Step *float64 `pulumi:"step"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type string `pulumi:"type"`
	// Specifies the unit of the parameter when the `type` is **int** or **decimal**.
	// The unit contains a maximum of 16 characters.
	Unit *string `pulumi:"unit"`
}

type ProductServicePropertyArgs

type ProductServicePropertyArgs struct {
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// Specifies the list of enumerated values of the parameter.
	EnumLists pulumi.StringArrayInput `pulumi:"enumLists"`
	// Specifies the max value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
	Max pulumi.StringPtrInput `pulumi:"max"`
	// Specifies the max length of the parameter when the `type` is **string**, **DateTime**,
	// **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.
	MaxLength pulumi.IntPtrInput `pulumi:"maxLength"`
	// Specifies the access mode of the device property.
	// Options: **RW**, **W**, **R**.
	Method pulumi.StringInput `pulumi:"method"`
	// Specifies the min value of the parameter when the `type` is **int** or **decimal**.
	// Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
	Min pulumi.StringPtrInput `pulumi:"min"`
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the step of the parameter when the `type` is **int** or **decimal**.
	// Value range: 0 ~ 2147483647. Defaults to **0**.
	Step pulumi.Float64PtrInput `pulumi:"step"`
	// Specifies the type of the parameter.
	// The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
	Type pulumi.StringInput `pulumi:"type"`
	// Specifies the unit of the parameter when the `type` is **int** or **decimal**.
	// The unit contains a maximum of 16 characters.
	Unit pulumi.StringPtrInput `pulumi:"unit"`
}

func (ProductServicePropertyArgs) ElementType

func (ProductServicePropertyArgs) ElementType() reflect.Type

func (ProductServicePropertyArgs) ToProductServicePropertyOutput

func (i ProductServicePropertyArgs) ToProductServicePropertyOutput() ProductServicePropertyOutput

func (ProductServicePropertyArgs) ToProductServicePropertyOutputWithContext

func (i ProductServicePropertyArgs) ToProductServicePropertyOutputWithContext(ctx context.Context) ProductServicePropertyOutput

type ProductServicePropertyArray

type ProductServicePropertyArray []ProductServicePropertyInput

func (ProductServicePropertyArray) ElementType

func (ProductServicePropertyArray) ToProductServicePropertyArrayOutput

func (i ProductServicePropertyArray) ToProductServicePropertyArrayOutput() ProductServicePropertyArrayOutput

func (ProductServicePropertyArray) ToProductServicePropertyArrayOutputWithContext

func (i ProductServicePropertyArray) ToProductServicePropertyArrayOutputWithContext(ctx context.Context) ProductServicePropertyArrayOutput

type ProductServicePropertyArrayInput

type ProductServicePropertyArrayInput interface {
	pulumi.Input

	ToProductServicePropertyArrayOutput() ProductServicePropertyArrayOutput
	ToProductServicePropertyArrayOutputWithContext(context.Context) ProductServicePropertyArrayOutput
}

ProductServicePropertyArrayInput is an input type that accepts ProductServicePropertyArray and ProductServicePropertyArrayOutput values. You can construct a concrete instance of `ProductServicePropertyArrayInput` via:

ProductServicePropertyArray{ ProductServicePropertyArgs{...} }

type ProductServicePropertyArrayOutput

type ProductServicePropertyArrayOutput struct{ *pulumi.OutputState }

func (ProductServicePropertyArrayOutput) ElementType

func (ProductServicePropertyArrayOutput) Index

func (ProductServicePropertyArrayOutput) ToProductServicePropertyArrayOutput

func (o ProductServicePropertyArrayOutput) ToProductServicePropertyArrayOutput() ProductServicePropertyArrayOutput

func (ProductServicePropertyArrayOutput) ToProductServicePropertyArrayOutputWithContext

func (o ProductServicePropertyArrayOutput) ToProductServicePropertyArrayOutputWithContext(ctx context.Context) ProductServicePropertyArrayOutput

type ProductServicePropertyInput

type ProductServicePropertyInput interface {
	pulumi.Input

	ToProductServicePropertyOutput() ProductServicePropertyOutput
	ToProductServicePropertyOutputWithContext(context.Context) ProductServicePropertyOutput
}

ProductServicePropertyInput is an input type that accepts ProductServicePropertyArgs and ProductServicePropertyOutput values. You can construct a concrete instance of `ProductServicePropertyInput` via:

ProductServicePropertyArgs{...}

type ProductServicePropertyOutput

type ProductServicePropertyOutput struct{ *pulumi.OutputState }

func (ProductServicePropertyOutput) Description

Specifies the description of the parameter. The description contains a maximum of 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServicePropertyOutput) ElementType

func (ProductServicePropertyOutput) EnumLists

Specifies the list of enumerated values of the parameter.

func (ProductServicePropertyOutput) Max

Specifies the max value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.

func (ProductServicePropertyOutput) MaxLength

Specifies the max length of the parameter when the `type` is **string**, **DateTime**, **jsonObject** or **string list**. Value range: 0 ~ 2147483647. Defaults to **0**.

func (ProductServicePropertyOutput) Method

Specifies the access mode of the device property. Options: **RW**, **W**, **R**.

func (ProductServicePropertyOutput) Min

Specifies the min value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.

func (ProductServicePropertyOutput) Name

Specifies the name of the parameter. The name contains a maximum of 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are allowed: `?'#().,&%@!`.

func (ProductServicePropertyOutput) Step

Specifies the step of the parameter when the `type` is **int** or **decimal**. Value range: 0 ~ 2147483647. Defaults to **0**.

func (ProductServicePropertyOutput) ToProductServicePropertyOutput

func (o ProductServicePropertyOutput) ToProductServicePropertyOutput() ProductServicePropertyOutput

func (ProductServicePropertyOutput) ToProductServicePropertyOutputWithContext

func (o ProductServicePropertyOutput) ToProductServicePropertyOutputWithContext(ctx context.Context) ProductServicePropertyOutput

func (ProductServicePropertyOutput) Type

Specifies the type of the parameter. The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.

func (ProductServicePropertyOutput) Unit

Specifies the unit of the parameter when the `type` is **int** or **decimal**. The unit contains a maximum of 16 characters.

type ProductState

type ProductState struct {
	// Specifies the type of data.
	// The valid values are **json** and **binary**.
	DataType pulumi.StringPtrInput
	// Specifies the description of the parameter. The description contains a maximum of
	// 128 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	Description pulumi.StringPtrInput
	// Specifies the device type. The device type contains a maximum of 32 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters
	// are allowed: `?'#().,&%@!`. Example: StreetLight, GasMeter, or WaterMeter.
	DeviceType pulumi.StringPtrInput
	// Specifies the industry which the device belongs to. The industry contains a maximum of
	// 64 characters. Only letters, Chinese characters, digits, hyphens (-), underscores (_) and
	// the following special characters are allowed: `?'#().,&%@!`.
	Industry pulumi.StringPtrInput
	// Specifies the manufacturer name. The name contains a maximum of 32 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special
	// characters are allowed: `?'#().,&%@!`.
	ManufacturerName pulumi.StringPtrInput
	// Specifies the name of the parameter. The name contains a maximum of 64 characters.
	// Only letters, Chinese characters, digits, hyphens (-), underscores (_) and the following special characters are
	// allowed: `?'#().,&%@!`.
	Name pulumi.StringPtrInput
	// Specifies the product ID. The product ID contains a maximum of 32
	// characters. Only letters, digits, hyphens (-) and underscores (_) are allowed. If omitted, the platform will
	// automatically allocate a product ID. Changing this parameter will create a new resource.
	ProductId pulumi.StringPtrInput
	// Specifies the protocol.
	// The valid values are **MQTT**, **CoAP**, **HTTP**, **HTTPS**, **Modbus**, **ONVIF**, **OPC-UA**, **OPC-DA**, **Other**.
	Protocol pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA product resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
	// Specifies the list of services.
	// The services structure is documented below.
	Services ProductServiceArrayInput
	// Specifies the resource space ID which the product belongs to. If omitted,
	// the product will belong to the default resource space. Changing this parameter will create a new resource.
	SpaceId pulumi.StringPtrInput
}

func (ProductState) ElementType

func (ProductState) ElementType() reflect.Type

type Space

type Space struct {
	pulumi.CustomResourceState

	// Whether it is the default resource space. The IoT platform automatically creates and assigns
	// a default resource space (undeletable) to your account.
	IsDefault pulumi.BoolOutput `pulumi:"isDefault"`
	// Specifies the space name. The name contains a maximum of 64 characters.
	// Only letters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.
	// Changing this parameter will create a new resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the region in which to create the IoTDA resource space resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringOutput `pulumi:"region"`
}

Manages an IoTDA resource space within HuaweiCloud.

A resource space is the basic unit of service management and provides independent device management and platform configuration capabilities at the service layer. Resources (such as products and devices) must be created on a resource space.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/IoTDA"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := IoTDA.NewSpace(ctx, "space", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Spaces can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:IoTDA/space:Space test 10022532f4f94f26b01daa1e424853e1

```

func GetSpace

func GetSpace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SpaceState, opts ...pulumi.ResourceOption) (*Space, error)

GetSpace gets an existing Space 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 NewSpace

func NewSpace(ctx *pulumi.Context,
	name string, args *SpaceArgs, opts ...pulumi.ResourceOption) (*Space, error)

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

func (*Space) ElementType

func (*Space) ElementType() reflect.Type

func (*Space) ToSpaceOutput

func (i *Space) ToSpaceOutput() SpaceOutput

func (*Space) ToSpaceOutputWithContext

func (i *Space) ToSpaceOutputWithContext(ctx context.Context) SpaceOutput

type SpaceArgs

type SpaceArgs struct {
	// Specifies the space name. The name contains a maximum of 64 characters.
	// Only letters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.
	// Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA resource space resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Space resource.

func (SpaceArgs) ElementType

func (SpaceArgs) ElementType() reflect.Type

type SpaceArray

type SpaceArray []SpaceInput

func (SpaceArray) ElementType

func (SpaceArray) ElementType() reflect.Type

func (SpaceArray) ToSpaceArrayOutput

func (i SpaceArray) ToSpaceArrayOutput() SpaceArrayOutput

func (SpaceArray) ToSpaceArrayOutputWithContext

func (i SpaceArray) ToSpaceArrayOutputWithContext(ctx context.Context) SpaceArrayOutput

type SpaceArrayInput

type SpaceArrayInput interface {
	pulumi.Input

	ToSpaceArrayOutput() SpaceArrayOutput
	ToSpaceArrayOutputWithContext(context.Context) SpaceArrayOutput
}

SpaceArrayInput is an input type that accepts SpaceArray and SpaceArrayOutput values. You can construct a concrete instance of `SpaceArrayInput` via:

SpaceArray{ SpaceArgs{...} }

type SpaceArrayOutput

type SpaceArrayOutput struct{ *pulumi.OutputState }

func (SpaceArrayOutput) ElementType

func (SpaceArrayOutput) ElementType() reflect.Type

func (SpaceArrayOutput) Index

func (SpaceArrayOutput) ToSpaceArrayOutput

func (o SpaceArrayOutput) ToSpaceArrayOutput() SpaceArrayOutput

func (SpaceArrayOutput) ToSpaceArrayOutputWithContext

func (o SpaceArrayOutput) ToSpaceArrayOutputWithContext(ctx context.Context) SpaceArrayOutput

type SpaceInput

type SpaceInput interface {
	pulumi.Input

	ToSpaceOutput() SpaceOutput
	ToSpaceOutputWithContext(ctx context.Context) SpaceOutput
}

type SpaceMap

type SpaceMap map[string]SpaceInput

func (SpaceMap) ElementType

func (SpaceMap) ElementType() reflect.Type

func (SpaceMap) ToSpaceMapOutput

func (i SpaceMap) ToSpaceMapOutput() SpaceMapOutput

func (SpaceMap) ToSpaceMapOutputWithContext

func (i SpaceMap) ToSpaceMapOutputWithContext(ctx context.Context) SpaceMapOutput

type SpaceMapInput

type SpaceMapInput interface {
	pulumi.Input

	ToSpaceMapOutput() SpaceMapOutput
	ToSpaceMapOutputWithContext(context.Context) SpaceMapOutput
}

SpaceMapInput is an input type that accepts SpaceMap and SpaceMapOutput values. You can construct a concrete instance of `SpaceMapInput` via:

SpaceMap{ "key": SpaceArgs{...} }

type SpaceMapOutput

type SpaceMapOutput struct{ *pulumi.OutputState }

func (SpaceMapOutput) ElementType

func (SpaceMapOutput) ElementType() reflect.Type

func (SpaceMapOutput) MapIndex

func (SpaceMapOutput) ToSpaceMapOutput

func (o SpaceMapOutput) ToSpaceMapOutput() SpaceMapOutput

func (SpaceMapOutput) ToSpaceMapOutputWithContext

func (o SpaceMapOutput) ToSpaceMapOutputWithContext(ctx context.Context) SpaceMapOutput

type SpaceOutput

type SpaceOutput struct{ *pulumi.OutputState }

func (SpaceOutput) ElementType

func (SpaceOutput) ElementType() reflect.Type

func (SpaceOutput) IsDefault

func (o SpaceOutput) IsDefault() pulumi.BoolOutput

Whether it is the default resource space. The IoT platform automatically creates and assigns a default resource space (undeletable) to your account.

func (SpaceOutput) Name

func (o SpaceOutput) Name() pulumi.StringOutput

Specifies the space name. The name contains a maximum of 64 characters. Only letters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`. Changing this parameter will create a new resource.

func (SpaceOutput) Region

func (o SpaceOutput) Region() pulumi.StringOutput

Specifies the region in which to create the IoTDA resource space resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.

func (SpaceOutput) ToSpaceOutput

func (o SpaceOutput) ToSpaceOutput() SpaceOutput

func (SpaceOutput) ToSpaceOutputWithContext

func (o SpaceOutput) ToSpaceOutputWithContext(ctx context.Context) SpaceOutput

type SpaceState

type SpaceState struct {
	// Whether it is the default resource space. The IoT platform automatically creates and assigns
	// a default resource space (undeletable) to your account.
	IsDefault pulumi.BoolPtrInput
	// Specifies the space name. The name contains a maximum of 64 characters.
	// Only letters, digits, hyphens (-), underscore (_) and the following special characters are allowed: `?'#().,&%@!`.
	// Changing this parameter will create a new resource.
	Name pulumi.StringPtrInput
	// Specifies the region in which to create the IoTDA resource space resource.
	// If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
	Region pulumi.StringPtrInput
}

func (SpaceState) ElementType

func (SpaceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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