Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Amqp
- type AmqpArgs
- type AmqpArray
- type AmqpArrayInput
- type AmqpArrayOutput
- type AmqpInput
- type AmqpMap
- type AmqpMapInput
- type AmqpMapOutput
- type AmqpOutput
- type AmqpState
- type DataforwardingRule
- type DataforwardingRuleArgs
- type DataforwardingRuleArray
- type DataforwardingRuleArrayInput
- type DataforwardingRuleArrayOutput
- func (DataforwardingRuleArrayOutput) ElementType() reflect.Type
- func (o DataforwardingRuleArrayOutput) Index(i pulumi.IntInput) DataforwardingRuleOutput
- func (o DataforwardingRuleArrayOutput) ToDataforwardingRuleArrayOutput() DataforwardingRuleArrayOutput
- func (o DataforwardingRuleArrayOutput) ToDataforwardingRuleArrayOutputWithContext(ctx context.Context) DataforwardingRuleArrayOutput
- type DataforwardingRuleInput
- type DataforwardingRuleMap
- type DataforwardingRuleMapInput
- type DataforwardingRuleMapOutput
- func (DataforwardingRuleMapOutput) ElementType() reflect.Type
- func (o DataforwardingRuleMapOutput) MapIndex(k pulumi.StringInput) DataforwardingRuleOutput
- func (o DataforwardingRuleMapOutput) ToDataforwardingRuleMapOutput() DataforwardingRuleMapOutput
- func (o DataforwardingRuleMapOutput) ToDataforwardingRuleMapOutputWithContext(ctx context.Context) DataforwardingRuleMapOutput
- type DataforwardingRuleOutput
- func (o DataforwardingRuleOutput) Description() pulumi.StringPtrOutput
- func (DataforwardingRuleOutput) ElementType() reflect.Type
- func (o DataforwardingRuleOutput) Enabled() pulumi.BoolPtrOutput
- func (o DataforwardingRuleOutput) Name() pulumi.StringOutput
- func (o DataforwardingRuleOutput) Region() pulumi.StringOutput
- func (o DataforwardingRuleOutput) Select() pulumi.StringPtrOutput
- func (o DataforwardingRuleOutput) SpaceId() pulumi.StringOutput
- func (o DataforwardingRuleOutput) Targets() DataforwardingRuleTargetArrayOutput
- func (o DataforwardingRuleOutput) ToDataforwardingRuleOutput() DataforwardingRuleOutput
- func (o DataforwardingRuleOutput) ToDataforwardingRuleOutputWithContext(ctx context.Context) DataforwardingRuleOutput
- func (o DataforwardingRuleOutput) Trigger() pulumi.StringOutput
- func (o DataforwardingRuleOutput) Where() pulumi.StringPtrOutput
- type DataforwardingRuleState
- type DataforwardingRuleTarget
- type DataforwardingRuleTargetAmqpForwarding
- type DataforwardingRuleTargetAmqpForwardingArgs
- func (DataforwardingRuleTargetAmqpForwardingArgs) ElementType() reflect.Type
- func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingOutput() DataforwardingRuleTargetAmqpForwardingOutput
- func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingOutput
- func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingPtrOutput() DataforwardingRuleTargetAmqpForwardingPtrOutput
- func (i DataforwardingRuleTargetAmqpForwardingArgs) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingPtrOutput
- type DataforwardingRuleTargetAmqpForwardingInput
- type DataforwardingRuleTargetAmqpForwardingOutput
- func (DataforwardingRuleTargetAmqpForwardingOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetAmqpForwardingOutput) QueueName() pulumi.StringOutput
- func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingOutput() DataforwardingRuleTargetAmqpForwardingOutput
- func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingOutput
- func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutput() DataforwardingRuleTargetAmqpForwardingPtrOutput
- func (o DataforwardingRuleTargetAmqpForwardingOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingPtrOutput
- type DataforwardingRuleTargetAmqpForwardingPtrInput
- type DataforwardingRuleTargetAmqpForwardingPtrOutput
- func (o DataforwardingRuleTargetAmqpForwardingPtrOutput) Elem() DataforwardingRuleTargetAmqpForwardingOutput
- func (DataforwardingRuleTargetAmqpForwardingPtrOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetAmqpForwardingPtrOutput) QueueName() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetAmqpForwardingPtrOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutput() DataforwardingRuleTargetAmqpForwardingPtrOutput
- func (o DataforwardingRuleTargetAmqpForwardingPtrOutput) ToDataforwardingRuleTargetAmqpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetAmqpForwardingPtrOutput
- type DataforwardingRuleTargetArgs
- func (DataforwardingRuleTargetArgs) ElementType() reflect.Type
- func (i DataforwardingRuleTargetArgs) ToDataforwardingRuleTargetOutput() DataforwardingRuleTargetOutput
- func (i DataforwardingRuleTargetArgs) ToDataforwardingRuleTargetOutputWithContext(ctx context.Context) DataforwardingRuleTargetOutput
- type DataforwardingRuleTargetArray
- func (DataforwardingRuleTargetArray) ElementType() reflect.Type
- func (i DataforwardingRuleTargetArray) ToDataforwardingRuleTargetArrayOutput() DataforwardingRuleTargetArrayOutput
- func (i DataforwardingRuleTargetArray) ToDataforwardingRuleTargetArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetArrayOutput
- type DataforwardingRuleTargetArrayInput
- type DataforwardingRuleTargetArrayOutput
- func (DataforwardingRuleTargetArrayOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetArrayOutput) Index(i pulumi.IntInput) DataforwardingRuleTargetOutput
- func (o DataforwardingRuleTargetArrayOutput) ToDataforwardingRuleTargetArrayOutput() DataforwardingRuleTargetArrayOutput
- func (o DataforwardingRuleTargetArrayOutput) ToDataforwardingRuleTargetArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetArrayOutput
- type DataforwardingRuleTargetDisForwarding
- type DataforwardingRuleTargetDisForwardingArgs
- func (DataforwardingRuleTargetDisForwardingArgs) ElementType() reflect.Type
- func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingOutput() DataforwardingRuleTargetDisForwardingOutput
- func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingOutput
- func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingPtrOutput() DataforwardingRuleTargetDisForwardingPtrOutput
- func (i DataforwardingRuleTargetDisForwardingArgs) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingPtrOutput
- type DataforwardingRuleTargetDisForwardingInput
- type DataforwardingRuleTargetDisForwardingOutput
- func (DataforwardingRuleTargetDisForwardingOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetDisForwardingOutput) ProjectId() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetDisForwardingOutput) Region() pulumi.StringOutput
- func (o DataforwardingRuleTargetDisForwardingOutput) StreamId() pulumi.StringOutput
- func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingOutput() DataforwardingRuleTargetDisForwardingOutput
- func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingOutput
- func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingPtrOutput() DataforwardingRuleTargetDisForwardingPtrOutput
- func (o DataforwardingRuleTargetDisForwardingOutput) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingPtrOutput
- type DataforwardingRuleTargetDisForwardingPtrInput
- type DataforwardingRuleTargetDisForwardingPtrOutput
- func (o DataforwardingRuleTargetDisForwardingPtrOutput) Elem() DataforwardingRuleTargetDisForwardingOutput
- func (DataforwardingRuleTargetDisForwardingPtrOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetDisForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetDisForwardingPtrOutput) Region() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetDisForwardingPtrOutput) StreamId() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetDisForwardingPtrOutput) ToDataforwardingRuleTargetDisForwardingPtrOutput() DataforwardingRuleTargetDisForwardingPtrOutput
- func (o DataforwardingRuleTargetDisForwardingPtrOutput) ToDataforwardingRuleTargetDisForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetDisForwardingPtrOutput
- type DataforwardingRuleTargetHttpForwarding
- type DataforwardingRuleTargetHttpForwardingArgs
- func (DataforwardingRuleTargetHttpForwardingArgs) ElementType() reflect.Type
- func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingOutput() DataforwardingRuleTargetHttpForwardingOutput
- func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingOutput
- func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput
- func (i DataforwardingRuleTargetHttpForwardingArgs) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput
- type DataforwardingRuleTargetHttpForwardingInput
- type DataforwardingRuleTargetHttpForwardingOutput
- func (DataforwardingRuleTargetHttpForwardingOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingOutput() DataforwardingRuleTargetHttpForwardingOutput
- func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingOutput
- func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput
- func (o DataforwardingRuleTargetHttpForwardingOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput
- func (o DataforwardingRuleTargetHttpForwardingOutput) Url() pulumi.StringOutput
- type DataforwardingRuleTargetHttpForwardingPtrInput
- type DataforwardingRuleTargetHttpForwardingPtrOutput
- func (o DataforwardingRuleTargetHttpForwardingPtrOutput) Elem() DataforwardingRuleTargetHttpForwardingOutput
- func (DataforwardingRuleTargetHttpForwardingPtrOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput
- func (o DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput
- func (o DataforwardingRuleTargetHttpForwardingPtrOutput) Url() pulumi.StringPtrOutput
- type DataforwardingRuleTargetInput
- type DataforwardingRuleTargetKafkaForwarding
- type DataforwardingRuleTargetKafkaForwardingAddress
- type DataforwardingRuleTargetKafkaForwardingAddressArgs
- func (DataforwardingRuleTargetKafkaForwardingAddressArgs) ElementType() reflect.Type
- func (i DataforwardingRuleTargetKafkaForwardingAddressArgs) ToDataforwardingRuleTargetKafkaForwardingAddressOutput() DataforwardingRuleTargetKafkaForwardingAddressOutput
- func (i DataforwardingRuleTargetKafkaForwardingAddressArgs) ToDataforwardingRuleTargetKafkaForwardingAddressOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressOutput
- type DataforwardingRuleTargetKafkaForwardingAddressArray
- func (DataforwardingRuleTargetKafkaForwardingAddressArray) ElementType() reflect.Type
- func (i DataforwardingRuleTargetKafkaForwardingAddressArray) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
- func (i DataforwardingRuleTargetKafkaForwardingAddressArray) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
- type DataforwardingRuleTargetKafkaForwardingAddressArrayInput
- type DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
- func (DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) Index(i pulumi.IntInput) DataforwardingRuleTargetKafkaForwardingAddressOutput
- func (o DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
- func (o DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
- type DataforwardingRuleTargetKafkaForwardingAddressInput
- type DataforwardingRuleTargetKafkaForwardingAddressOutput
- func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) Domain() pulumi.StringPtrOutput
- func (DataforwardingRuleTargetKafkaForwardingAddressOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) Ip() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) Port() pulumi.IntOutput
- func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) ToDataforwardingRuleTargetKafkaForwardingAddressOutput() DataforwardingRuleTargetKafkaForwardingAddressOutput
- func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) ToDataforwardingRuleTargetKafkaForwardingAddressOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingAddressOutput
- type DataforwardingRuleTargetKafkaForwardingArgs
- func (DataforwardingRuleTargetKafkaForwardingArgs) ElementType() reflect.Type
- func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingOutput() DataforwardingRuleTargetKafkaForwardingOutput
- func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingOutput
- func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingPtrOutput() DataforwardingRuleTargetKafkaForwardingPtrOutput
- func (i DataforwardingRuleTargetKafkaForwardingArgs) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingPtrOutput
- type DataforwardingRuleTargetKafkaForwardingInput
- type DataforwardingRuleTargetKafkaForwardingOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) Addresses() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
- func (DataforwardingRuleTargetKafkaForwardingOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetKafkaForwardingOutput) Password() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) ProjectId() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) Region() pulumi.StringOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingOutput() DataforwardingRuleTargetKafkaForwardingOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutput() DataforwardingRuleTargetKafkaForwardingPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) Topic() pulumi.StringOutput
- func (o DataforwardingRuleTargetKafkaForwardingOutput) UserName() pulumi.StringPtrOutput
- type DataforwardingRuleTargetKafkaForwardingPtrInput
- type DataforwardingRuleTargetKafkaForwardingPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Addresses() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Elem() DataforwardingRuleTargetKafkaForwardingOutput
- func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Password() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Region() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutput() DataforwardingRuleTargetKafkaForwardingPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) ToDataforwardingRuleTargetKafkaForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetKafkaForwardingPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Topic() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) UserName() pulumi.StringPtrOutput
- type DataforwardingRuleTargetObsForwarding
- type DataforwardingRuleTargetObsForwardingArgs
- func (DataforwardingRuleTargetObsForwardingArgs) ElementType() reflect.Type
- func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingOutput() DataforwardingRuleTargetObsForwardingOutput
- func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingOutput
- func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingPtrOutput() DataforwardingRuleTargetObsForwardingPtrOutput
- func (i DataforwardingRuleTargetObsForwardingArgs) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingPtrOutput
- type DataforwardingRuleTargetObsForwardingInput
- type DataforwardingRuleTargetObsForwardingOutput
- func (o DataforwardingRuleTargetObsForwardingOutput) Bucket() pulumi.StringOutput
- func (o DataforwardingRuleTargetObsForwardingOutput) CustomDirectory() pulumi.StringPtrOutput
- func (DataforwardingRuleTargetObsForwardingOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetObsForwardingOutput) ProjectId() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetObsForwardingOutput) Region() pulumi.StringOutput
- func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingOutput() DataforwardingRuleTargetObsForwardingOutput
- func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingOutput
- func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingPtrOutput() DataforwardingRuleTargetObsForwardingPtrOutput
- func (o DataforwardingRuleTargetObsForwardingOutput) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingPtrOutput
- type DataforwardingRuleTargetObsForwardingPtrInput
- type DataforwardingRuleTargetObsForwardingPtrOutput
- func (o DataforwardingRuleTargetObsForwardingPtrOutput) Bucket() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetObsForwardingPtrOutput) CustomDirectory() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetObsForwardingPtrOutput) Elem() DataforwardingRuleTargetObsForwardingOutput
- func (DataforwardingRuleTargetObsForwardingPtrOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetObsForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetObsForwardingPtrOutput) Region() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetObsForwardingPtrOutput) ToDataforwardingRuleTargetObsForwardingPtrOutput() DataforwardingRuleTargetObsForwardingPtrOutput
- func (o DataforwardingRuleTargetObsForwardingPtrOutput) ToDataforwardingRuleTargetObsForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetObsForwardingPtrOutput
- type DataforwardingRuleTargetOutput
- func (o DataforwardingRuleTargetOutput) AmqpForwarding() DataforwardingRuleTargetAmqpForwardingPtrOutput
- func (o DataforwardingRuleTargetOutput) DisForwarding() DataforwardingRuleTargetDisForwardingPtrOutput
- func (DataforwardingRuleTargetOutput) ElementType() reflect.Type
- func (o DataforwardingRuleTargetOutput) HttpForwarding() DataforwardingRuleTargetHttpForwardingPtrOutput
- func (o DataforwardingRuleTargetOutput) Id() pulumi.StringPtrOutput
- func (o DataforwardingRuleTargetOutput) KafkaForwarding() DataforwardingRuleTargetKafkaForwardingPtrOutput
- func (o DataforwardingRuleTargetOutput) ObsForwarding() DataforwardingRuleTargetObsForwardingPtrOutput
- func (o DataforwardingRuleTargetOutput) ToDataforwardingRuleTargetOutput() DataforwardingRuleTargetOutput
- func (o DataforwardingRuleTargetOutput) ToDataforwardingRuleTargetOutputWithContext(ctx context.Context) DataforwardingRuleTargetOutput
- func (o DataforwardingRuleTargetOutput) Type() pulumi.StringOutput
- type Device
- type DeviceArgs
- type DeviceArray
- type DeviceArrayInput
- type DeviceArrayOutput
- type DeviceCertificate
- type DeviceCertificateArgs
- type DeviceCertificateArray
- type DeviceCertificateArrayInput
- type DeviceCertificateArrayOutput
- func (DeviceCertificateArrayOutput) ElementType() reflect.Type
- func (o DeviceCertificateArrayOutput) Index(i pulumi.IntInput) DeviceCertificateOutput
- func (o DeviceCertificateArrayOutput) ToDeviceCertificateArrayOutput() DeviceCertificateArrayOutput
- func (o DeviceCertificateArrayOutput) ToDeviceCertificateArrayOutputWithContext(ctx context.Context) DeviceCertificateArrayOutput
- type DeviceCertificateInput
- type DeviceCertificateMap
- type DeviceCertificateMapInput
- type DeviceCertificateMapOutput
- func (DeviceCertificateMapOutput) ElementType() reflect.Type
- func (o DeviceCertificateMapOutput) MapIndex(k pulumi.StringInput) DeviceCertificateOutput
- func (o DeviceCertificateMapOutput) ToDeviceCertificateMapOutput() DeviceCertificateMapOutput
- func (o DeviceCertificateMapOutput) ToDeviceCertificateMapOutputWithContext(ctx context.Context) DeviceCertificateMapOutput
- type DeviceCertificateOutput
- func (o DeviceCertificateOutput) Cn() pulumi.StringOutput
- func (o DeviceCertificateOutput) Content() pulumi.StringOutput
- func (o DeviceCertificateOutput) EffectiveDate() pulumi.StringOutput
- func (DeviceCertificateOutput) ElementType() reflect.Type
- func (o DeviceCertificateOutput) ExpiryDate() pulumi.StringOutput
- func (o DeviceCertificateOutput) Owner() pulumi.StringOutput
- func (o DeviceCertificateOutput) Region() pulumi.StringOutput
- func (o DeviceCertificateOutput) SpaceId() pulumi.StringPtrOutput
- func (o DeviceCertificateOutput) Status() pulumi.StringOutput
- func (o DeviceCertificateOutput) ToDeviceCertificateOutput() DeviceCertificateOutput
- func (o DeviceCertificateOutput) ToDeviceCertificateOutputWithContext(ctx context.Context) DeviceCertificateOutput
- func (o DeviceCertificateOutput) VerifyCode() pulumi.StringOutput
- func (o DeviceCertificateOutput) VerifyContent() pulumi.StringPtrOutput
- type DeviceCertificateState
- type DeviceGroup
- type DeviceGroupArgs
- type DeviceGroupArray
- type DeviceGroupArrayInput
- type DeviceGroupArrayOutput
- func (DeviceGroupArrayOutput) ElementType() reflect.Type
- func (o DeviceGroupArrayOutput) Index(i pulumi.IntInput) DeviceGroupOutput
- func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutput() DeviceGroupArrayOutput
- func (o DeviceGroupArrayOutput) ToDeviceGroupArrayOutputWithContext(ctx context.Context) DeviceGroupArrayOutput
- type DeviceGroupInput
- type DeviceGroupMap
- type DeviceGroupMapInput
- type DeviceGroupMapOutput
- func (DeviceGroupMapOutput) ElementType() reflect.Type
- func (o DeviceGroupMapOutput) MapIndex(k pulumi.StringInput) DeviceGroupOutput
- func (o DeviceGroupMapOutput) ToDeviceGroupMapOutput() DeviceGroupMapOutput
- func (o DeviceGroupMapOutput) ToDeviceGroupMapOutputWithContext(ctx context.Context) DeviceGroupMapOutput
- type DeviceGroupOutput
- func (o DeviceGroupOutput) Description() pulumi.StringPtrOutput
- func (o DeviceGroupOutput) DeviceIds() pulumi.StringArrayOutput
- func (DeviceGroupOutput) ElementType() reflect.Type
- func (o DeviceGroupOutput) Name() pulumi.StringOutput
- func (o DeviceGroupOutput) ParentGroupId() pulumi.StringOutput
- func (o DeviceGroupOutput) Region() pulumi.StringOutput
- func (o DeviceGroupOutput) SpaceId() pulumi.StringOutput
- func (o DeviceGroupOutput) ToDeviceGroupOutput() DeviceGroupOutput
- func (o DeviceGroupOutput) ToDeviceGroupOutputWithContext(ctx context.Context) DeviceGroupOutput
- type DeviceGroupState
- type DeviceInput
- type DeviceLinkageRule
- type DeviceLinkageRuleAction
- type DeviceLinkageRuleActionArgs
- type DeviceLinkageRuleActionArray
- func (DeviceLinkageRuleActionArray) ElementType() reflect.Type
- func (i DeviceLinkageRuleActionArray) ToDeviceLinkageRuleActionArrayOutput() DeviceLinkageRuleActionArrayOutput
- func (i DeviceLinkageRuleActionArray) ToDeviceLinkageRuleActionArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleActionArrayOutput
- type DeviceLinkageRuleActionArrayInput
- type DeviceLinkageRuleActionArrayOutput
- func (DeviceLinkageRuleActionArrayOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionArrayOutput) Index(i pulumi.IntInput) DeviceLinkageRuleActionOutput
- func (o DeviceLinkageRuleActionArrayOutput) ToDeviceLinkageRuleActionArrayOutput() DeviceLinkageRuleActionArrayOutput
- func (o DeviceLinkageRuleActionArrayOutput) ToDeviceLinkageRuleActionArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleActionArrayOutput
- type DeviceLinkageRuleActionDeviceAlarm
- type DeviceLinkageRuleActionDeviceAlarmArgs
- func (DeviceLinkageRuleActionDeviceAlarmArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmOutput() DeviceLinkageRuleActionDeviceAlarmOutput
- func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmOutput
- func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput() DeviceLinkageRuleActionDeviceAlarmPtrOutput
- func (i DeviceLinkageRuleActionDeviceAlarmArgs) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmPtrOutput
- type DeviceLinkageRuleActionDeviceAlarmInput
- type DeviceLinkageRuleActionDeviceAlarmOutput
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) Description() pulumi.StringPtrOutput
- func (DeviceLinkageRuleActionDeviceAlarmOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) Name() pulumi.StringOutput
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) Severity() pulumi.StringOutput
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmOutput() DeviceLinkageRuleActionDeviceAlarmOutput
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmOutput
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput() DeviceLinkageRuleActionDeviceAlarmPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmOutput) Type() pulumi.StringOutput
- type DeviceLinkageRuleActionDeviceAlarmPtrInput
- type DeviceLinkageRuleActionDeviceAlarmPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Description() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Elem() DeviceLinkageRuleActionDeviceAlarmOutput
- func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Name() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Severity() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutput() DeviceLinkageRuleActionDeviceAlarmPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) ToDeviceLinkageRuleActionDeviceAlarmPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceAlarmPtrOutput
- func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Type() pulumi.StringPtrOutput
- type DeviceLinkageRuleActionDeviceCommand
- type DeviceLinkageRuleActionDeviceCommandArgs
- func (DeviceLinkageRuleActionDeviceCommandArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandOutput() DeviceLinkageRuleActionDeviceCommandOutput
- func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandOutput
- func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandPtrOutput() DeviceLinkageRuleActionDeviceCommandPtrOutput
- func (i DeviceLinkageRuleActionDeviceCommandArgs) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandPtrOutput
- type DeviceLinkageRuleActionDeviceCommandInput
- type DeviceLinkageRuleActionDeviceCommandOutput
- func (o DeviceLinkageRuleActionDeviceCommandOutput) CommandBody() pulumi.StringOutput
- func (o DeviceLinkageRuleActionDeviceCommandOutput) CommandName() pulumi.StringOutput
- func (o DeviceLinkageRuleActionDeviceCommandOutput) DeviceId() pulumi.StringOutput
- func (DeviceLinkageRuleActionDeviceCommandOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionDeviceCommandOutput) ServiceId() pulumi.StringOutput
- func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandOutput() DeviceLinkageRuleActionDeviceCommandOutput
- func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandOutput
- func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutput() DeviceLinkageRuleActionDeviceCommandPtrOutput
- func (o DeviceLinkageRuleActionDeviceCommandOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandPtrOutput
- type DeviceLinkageRuleActionDeviceCommandPtrInput
- type DeviceLinkageRuleActionDeviceCommandPtrOutput
- func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) CommandBody() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) CommandName() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) DeviceId() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) Elem() DeviceLinkageRuleActionDeviceCommandOutput
- func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) ServiceId() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutput() DeviceLinkageRuleActionDeviceCommandPtrOutput
- func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) ToDeviceLinkageRuleActionDeviceCommandPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionDeviceCommandPtrOutput
- type DeviceLinkageRuleActionInput
- type DeviceLinkageRuleActionOutput
- func (o DeviceLinkageRuleActionOutput) DeviceAlarm() DeviceLinkageRuleActionDeviceAlarmPtrOutput
- func (o DeviceLinkageRuleActionOutput) DeviceCommand() DeviceLinkageRuleActionDeviceCommandPtrOutput
- func (DeviceLinkageRuleActionOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionOutput) SmnForwarding() DeviceLinkageRuleActionSmnForwardingPtrOutput
- func (o DeviceLinkageRuleActionOutput) ToDeviceLinkageRuleActionOutput() DeviceLinkageRuleActionOutput
- func (o DeviceLinkageRuleActionOutput) ToDeviceLinkageRuleActionOutputWithContext(ctx context.Context) DeviceLinkageRuleActionOutput
- func (o DeviceLinkageRuleActionOutput) Type() pulumi.StringOutput
- type DeviceLinkageRuleActionSmnForwarding
- type DeviceLinkageRuleActionSmnForwardingArgs
- func (DeviceLinkageRuleActionSmnForwardingArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingOutput() DeviceLinkageRuleActionSmnForwardingOutput
- func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingOutput
- func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingPtrOutput() DeviceLinkageRuleActionSmnForwardingPtrOutput
- func (i DeviceLinkageRuleActionSmnForwardingArgs) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingPtrOutput
- type DeviceLinkageRuleActionSmnForwardingInput
- type DeviceLinkageRuleActionSmnForwardingOutput
- func (DeviceLinkageRuleActionSmnForwardingOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionSmnForwardingOutput) MessageContent() pulumi.StringOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) MessageTitle() pulumi.StringOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) ProjectId() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) Region() pulumi.StringOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingOutput() DeviceLinkageRuleActionSmnForwardingOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutput() DeviceLinkageRuleActionSmnForwardingPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) TopicName() pulumi.StringOutput
- func (o DeviceLinkageRuleActionSmnForwardingOutput) TopicUrn() pulumi.StringOutput
- type DeviceLinkageRuleActionSmnForwardingPtrInput
- type DeviceLinkageRuleActionSmnForwardingPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) Elem() DeviceLinkageRuleActionSmnForwardingOutput
- func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageContent() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageTitle() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) Region() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutput() DeviceLinkageRuleActionSmnForwardingPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) ToDeviceLinkageRuleActionSmnForwardingPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleActionSmnForwardingPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) TopicName() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) TopicUrn() pulumi.StringPtrOutput
- type DeviceLinkageRuleArgs
- type DeviceLinkageRuleArray
- type DeviceLinkageRuleArrayInput
- type DeviceLinkageRuleArrayOutput
- func (DeviceLinkageRuleArrayOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleArrayOutput) Index(i pulumi.IntInput) DeviceLinkageRuleOutput
- func (o DeviceLinkageRuleArrayOutput) ToDeviceLinkageRuleArrayOutput() DeviceLinkageRuleArrayOutput
- func (o DeviceLinkageRuleArrayOutput) ToDeviceLinkageRuleArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleArrayOutput
- type DeviceLinkageRuleEffectivePeriod
- type DeviceLinkageRuleEffectivePeriodArgs
- func (DeviceLinkageRuleEffectivePeriodArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodOutput() DeviceLinkageRuleEffectivePeriodOutput
- func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodOutput
- func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodPtrOutput() DeviceLinkageRuleEffectivePeriodPtrOutput
- func (i DeviceLinkageRuleEffectivePeriodArgs) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodPtrOutput
- type DeviceLinkageRuleEffectivePeriodInput
- type DeviceLinkageRuleEffectivePeriodOutput
- func (o DeviceLinkageRuleEffectivePeriodOutput) DaysOfWeek() pulumi.StringPtrOutput
- func (DeviceLinkageRuleEffectivePeriodOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleEffectivePeriodOutput) EndTime() pulumi.StringOutput
- func (o DeviceLinkageRuleEffectivePeriodOutput) StartTime() pulumi.StringOutput
- func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodOutput() DeviceLinkageRuleEffectivePeriodOutput
- func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodOutput
- func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutput() DeviceLinkageRuleEffectivePeriodPtrOutput
- func (o DeviceLinkageRuleEffectivePeriodOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodPtrOutput
- type DeviceLinkageRuleEffectivePeriodPtrInput
- type DeviceLinkageRuleEffectivePeriodPtrOutput
- func (o DeviceLinkageRuleEffectivePeriodPtrOutput) DaysOfWeek() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleEffectivePeriodPtrOutput) Elem() DeviceLinkageRuleEffectivePeriodOutput
- func (DeviceLinkageRuleEffectivePeriodPtrOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleEffectivePeriodPtrOutput) EndTime() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleEffectivePeriodPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleEffectivePeriodPtrOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutput() DeviceLinkageRuleEffectivePeriodPtrOutput
- func (o DeviceLinkageRuleEffectivePeriodPtrOutput) ToDeviceLinkageRuleEffectivePeriodPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleEffectivePeriodPtrOutput
- type DeviceLinkageRuleInput
- type DeviceLinkageRuleMap
- type DeviceLinkageRuleMapInput
- type DeviceLinkageRuleMapOutput
- func (DeviceLinkageRuleMapOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleMapOutput) MapIndex(k pulumi.StringInput) DeviceLinkageRuleOutput
- func (o DeviceLinkageRuleMapOutput) ToDeviceLinkageRuleMapOutput() DeviceLinkageRuleMapOutput
- func (o DeviceLinkageRuleMapOutput) ToDeviceLinkageRuleMapOutputWithContext(ctx context.Context) DeviceLinkageRuleMapOutput
- type DeviceLinkageRuleOutput
- func (o DeviceLinkageRuleOutput) Actions() DeviceLinkageRuleActionArrayOutput
- func (o DeviceLinkageRuleOutput) Description() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleOutput) EffectivePeriod() DeviceLinkageRuleEffectivePeriodPtrOutput
- func (DeviceLinkageRuleOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleOutput) Enabled() pulumi.BoolPtrOutput
- func (o DeviceLinkageRuleOutput) Name() pulumi.StringOutput
- func (o DeviceLinkageRuleOutput) Region() pulumi.StringOutput
- func (o DeviceLinkageRuleOutput) SpaceId() pulumi.StringOutput
- func (o DeviceLinkageRuleOutput) ToDeviceLinkageRuleOutput() DeviceLinkageRuleOutput
- func (o DeviceLinkageRuleOutput) ToDeviceLinkageRuleOutputWithContext(ctx context.Context) DeviceLinkageRuleOutput
- func (o DeviceLinkageRuleOutput) TriggerLogic() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleOutput) Triggers() DeviceLinkageRuleTriggerArrayOutput
- type DeviceLinkageRuleState
- type DeviceLinkageRuleTrigger
- type DeviceLinkageRuleTriggerArgs
- func (DeviceLinkageRuleTriggerArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleTriggerArgs) ToDeviceLinkageRuleTriggerOutput() DeviceLinkageRuleTriggerOutput
- func (i DeviceLinkageRuleTriggerArgs) ToDeviceLinkageRuleTriggerOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerOutput
- type DeviceLinkageRuleTriggerArray
- func (DeviceLinkageRuleTriggerArray) ElementType() reflect.Type
- func (i DeviceLinkageRuleTriggerArray) ToDeviceLinkageRuleTriggerArrayOutput() DeviceLinkageRuleTriggerArrayOutput
- func (i DeviceLinkageRuleTriggerArray) ToDeviceLinkageRuleTriggerArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerArrayOutput
- type DeviceLinkageRuleTriggerArrayInput
- type DeviceLinkageRuleTriggerArrayOutput
- func (DeviceLinkageRuleTriggerArrayOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerArrayOutput) Index(i pulumi.IntInput) DeviceLinkageRuleTriggerOutput
- func (o DeviceLinkageRuleTriggerArrayOutput) ToDeviceLinkageRuleTriggerArrayOutput() DeviceLinkageRuleTriggerArrayOutput
- func (o DeviceLinkageRuleTriggerArrayOutput) ToDeviceLinkageRuleTriggerArrayOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerArrayOutput
- type DeviceLinkageRuleTriggerDailyTimerCondition
- type DeviceLinkageRuleTriggerDailyTimerConditionArgs
- func (DeviceLinkageRuleTriggerDailyTimerConditionArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionOutput() DeviceLinkageRuleTriggerDailyTimerConditionOutput
- func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionOutput
- func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- func (i DeviceLinkageRuleTriggerDailyTimerConditionArgs) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- type DeviceLinkageRuleTriggerDailyTimerConditionInput
- type DeviceLinkageRuleTriggerDailyTimerConditionOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) DaysOfWeek() pulumi.StringPtrOutput
- func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) StartTime() pulumi.StringOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionOutput() DeviceLinkageRuleTriggerDailyTimerConditionOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- type DeviceLinkageRuleTriggerDailyTimerConditionPtrInput
- type DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) DaysOfWeek() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) Elem() DeviceLinkageRuleTriggerDailyTimerConditionOutput
- func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- type DeviceLinkageRuleTriggerDeviceDataCondition
- type DeviceLinkageRuleTriggerDeviceDataConditionArgs
- func (DeviceLinkageRuleTriggerDeviceDataConditionArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionOutput() DeviceLinkageRuleTriggerDeviceDataConditionOutput
- func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionOutput
- func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- func (i DeviceLinkageRuleTriggerDeviceDataConditionArgs) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- type DeviceLinkageRuleTriggerDeviceDataConditionInput
- type DeviceLinkageRuleTriggerDeviceDataConditionOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) DataValidatiyPeriod() pulumi.IntPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) DeviceId() pulumi.StringPtrOutput
- func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) Operator() pulumi.StringOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) Path() pulumi.StringOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ProductId() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionOutput() DeviceLinkageRuleTriggerDeviceDataConditionOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) TriggerStrategy() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) Value() pulumi.StringOutput
- type DeviceLinkageRuleTriggerDeviceDataConditionPtrInput
- type DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) DataValidatiyPeriod() pulumi.IntPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) DeviceId() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Elem() DeviceLinkageRuleTriggerDeviceDataConditionOutput
- func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Operator() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Path() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ProductId() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) TriggerStrategy() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Value() pulumi.StringPtrOutput
- type DeviceLinkageRuleTriggerInput
- type DeviceLinkageRuleTriggerOutput
- func (o DeviceLinkageRuleTriggerOutput) DailyTimerCondition() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerOutput) DeviceDataCondition() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
- func (DeviceLinkageRuleTriggerOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerOutput) SimpleTimerCondition() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerOutput) ToDeviceLinkageRuleTriggerOutput() DeviceLinkageRuleTriggerOutput
- func (o DeviceLinkageRuleTriggerOutput) ToDeviceLinkageRuleTriggerOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerOutput
- func (o DeviceLinkageRuleTriggerOutput) Type() pulumi.StringOutput
- type DeviceLinkageRuleTriggerSimpleTimerCondition
- type DeviceLinkageRuleTriggerSimpleTimerConditionArgs
- func (DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ElementType() reflect.Type
- func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutput() DeviceLinkageRuleTriggerSimpleTimerConditionOutput
- func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionOutput
- func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- func (i DeviceLinkageRuleTriggerSimpleTimerConditionArgs) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- type DeviceLinkageRuleTriggerSimpleTimerConditionInput
- type DeviceLinkageRuleTriggerSimpleTimerConditionOutput
- func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatCount() pulumi.IntOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatInterval() pulumi.IntOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) StartTime() pulumi.StringOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutput() DeviceLinkageRuleTriggerSimpleTimerConditionOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- type DeviceLinkageRuleTriggerSimpleTimerConditionPtrInput
- type DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) Elem() DeviceLinkageRuleTriggerSimpleTimerConditionOutput
- func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ElementType() reflect.Type
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatCount() pulumi.IntPtrOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatInterval() pulumi.IntPtrOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
- type DeviceMap
- type DeviceMapInput
- type DeviceMapOutput
- type DeviceOutput
- func (o DeviceOutput) AuthType() pulumi.StringOutput
- func (o DeviceOutput) Description() pulumi.StringPtrOutput
- func (o DeviceOutput) DeviceId() pulumi.StringOutput
- func (DeviceOutput) ElementType() reflect.Type
- func (o DeviceOutput) Fingerprint() pulumi.StringOutput
- func (o DeviceOutput) Frozen() pulumi.BoolOutput
- func (o DeviceOutput) GatewayId() pulumi.StringOutput
- func (o DeviceOutput) Name() pulumi.StringOutput
- func (o DeviceOutput) NodeId() pulumi.StringOutput
- func (o DeviceOutput) NodeType() pulumi.StringOutput
- func (o DeviceOutput) ProductId() pulumi.StringOutput
- func (o DeviceOutput) Region() pulumi.StringOutput
- func (o DeviceOutput) Secret() pulumi.StringOutput
- func (o DeviceOutput) SpaceId() pulumi.StringOutput
- func (o DeviceOutput) Status() pulumi.StringOutput
- func (o DeviceOutput) Tags() pulumi.StringMapOutput
- func (o DeviceOutput) ToDeviceOutput() DeviceOutput
- func (o DeviceOutput) ToDeviceOutputWithContext(ctx context.Context) DeviceOutput
- type DeviceState
- type Product
- type ProductArgs
- type ProductArray
- type ProductArrayInput
- type ProductArrayOutput
- type ProductInput
- type ProductMap
- type ProductMapInput
- type ProductMapOutput
- type ProductOutput
- func (o ProductOutput) DataType() pulumi.StringOutput
- func (o ProductOutput) Description() pulumi.StringPtrOutput
- func (o ProductOutput) DeviceType() pulumi.StringOutput
- func (ProductOutput) ElementType() reflect.Type
- func (o ProductOutput) Industry() pulumi.StringOutput
- func (o ProductOutput) ManufacturerName() pulumi.StringOutput
- func (o ProductOutput) Name() pulumi.StringOutput
- func (o ProductOutput) ProductId() pulumi.StringOutput
- func (o ProductOutput) Protocol() pulumi.StringOutput
- func (o ProductOutput) Region() pulumi.StringOutput
- func (o ProductOutput) Services() ProductServiceArrayOutput
- func (o ProductOutput) SpaceId() pulumi.StringOutput
- func (o ProductOutput) ToProductOutput() ProductOutput
- func (o ProductOutput) ToProductOutputWithContext(ctx context.Context) ProductOutput
- type ProductService
- type ProductServiceArgs
- type ProductServiceArray
- type ProductServiceArrayInput
- type ProductServiceArrayOutput
- func (ProductServiceArrayOutput) ElementType() reflect.Type
- func (o ProductServiceArrayOutput) Index(i pulumi.IntInput) ProductServiceOutput
- func (o ProductServiceArrayOutput) ToProductServiceArrayOutput() ProductServiceArrayOutput
- func (o ProductServiceArrayOutput) ToProductServiceArrayOutputWithContext(ctx context.Context) ProductServiceArrayOutput
- type ProductServiceCommand
- type ProductServiceCommandArgs
- type ProductServiceCommandArray
- func (ProductServiceCommandArray) ElementType() reflect.Type
- func (i ProductServiceCommandArray) ToProductServiceCommandArrayOutput() ProductServiceCommandArrayOutput
- func (i ProductServiceCommandArray) ToProductServiceCommandArrayOutputWithContext(ctx context.Context) ProductServiceCommandArrayOutput
- type ProductServiceCommandArrayInput
- type ProductServiceCommandArrayOutput
- func (ProductServiceCommandArrayOutput) ElementType() reflect.Type
- func (o ProductServiceCommandArrayOutput) Index(i pulumi.IntInput) ProductServiceCommandOutput
- func (o ProductServiceCommandArrayOutput) ToProductServiceCommandArrayOutput() ProductServiceCommandArrayOutput
- func (o ProductServiceCommandArrayOutput) ToProductServiceCommandArrayOutputWithContext(ctx context.Context) ProductServiceCommandArrayOutput
- type ProductServiceCommandInput
- type ProductServiceCommandOutput
- func (ProductServiceCommandOutput) ElementType() reflect.Type
- func (o ProductServiceCommandOutput) Name() pulumi.StringOutput
- func (o ProductServiceCommandOutput) Paras() ProductServiceCommandParaArrayOutput
- func (o ProductServiceCommandOutput) Responses() ProductServiceCommandResponseArrayOutput
- func (o ProductServiceCommandOutput) ToProductServiceCommandOutput() ProductServiceCommandOutput
- func (o ProductServiceCommandOutput) ToProductServiceCommandOutputWithContext(ctx context.Context) ProductServiceCommandOutput
- type ProductServiceCommandPara
- type ProductServiceCommandParaArgs
- func (ProductServiceCommandParaArgs) ElementType() reflect.Type
- func (i ProductServiceCommandParaArgs) ToProductServiceCommandParaOutput() ProductServiceCommandParaOutput
- func (i ProductServiceCommandParaArgs) ToProductServiceCommandParaOutputWithContext(ctx context.Context) ProductServiceCommandParaOutput
- type ProductServiceCommandParaArray
- func (ProductServiceCommandParaArray) ElementType() reflect.Type
- func (i ProductServiceCommandParaArray) ToProductServiceCommandParaArrayOutput() ProductServiceCommandParaArrayOutput
- func (i ProductServiceCommandParaArray) ToProductServiceCommandParaArrayOutputWithContext(ctx context.Context) ProductServiceCommandParaArrayOutput
- type ProductServiceCommandParaArrayInput
- type ProductServiceCommandParaArrayOutput
- func (ProductServiceCommandParaArrayOutput) ElementType() reflect.Type
- func (o ProductServiceCommandParaArrayOutput) Index(i pulumi.IntInput) ProductServiceCommandParaOutput
- func (o ProductServiceCommandParaArrayOutput) ToProductServiceCommandParaArrayOutput() ProductServiceCommandParaArrayOutput
- func (o ProductServiceCommandParaArrayOutput) ToProductServiceCommandParaArrayOutputWithContext(ctx context.Context) ProductServiceCommandParaArrayOutput
- type ProductServiceCommandParaInput
- type ProductServiceCommandParaOutput
- func (o ProductServiceCommandParaOutput) Description() pulumi.StringPtrOutput
- func (ProductServiceCommandParaOutput) ElementType() reflect.Type
- func (o ProductServiceCommandParaOutput) EnumLists() pulumi.StringArrayOutput
- func (o ProductServiceCommandParaOutput) Max() pulumi.StringPtrOutput
- func (o ProductServiceCommandParaOutput) MaxLength() pulumi.IntPtrOutput
- func (o ProductServiceCommandParaOutput) Min() pulumi.StringPtrOutput
- func (o ProductServiceCommandParaOutput) Name() pulumi.StringOutput
- func (o ProductServiceCommandParaOutput) Step() pulumi.Float64PtrOutput
- func (o ProductServiceCommandParaOutput) ToProductServiceCommandParaOutput() ProductServiceCommandParaOutput
- func (o ProductServiceCommandParaOutput) ToProductServiceCommandParaOutputWithContext(ctx context.Context) ProductServiceCommandParaOutput
- func (o ProductServiceCommandParaOutput) Type() pulumi.StringOutput
- func (o ProductServiceCommandParaOutput) Unit() pulumi.StringPtrOutput
- type ProductServiceCommandResponse
- type ProductServiceCommandResponseArgs
- func (ProductServiceCommandResponseArgs) ElementType() reflect.Type
- func (i ProductServiceCommandResponseArgs) ToProductServiceCommandResponseOutput() ProductServiceCommandResponseOutput
- func (i ProductServiceCommandResponseArgs) ToProductServiceCommandResponseOutputWithContext(ctx context.Context) ProductServiceCommandResponseOutput
- type ProductServiceCommandResponseArray
- func (ProductServiceCommandResponseArray) ElementType() reflect.Type
- func (i ProductServiceCommandResponseArray) ToProductServiceCommandResponseArrayOutput() ProductServiceCommandResponseArrayOutput
- func (i ProductServiceCommandResponseArray) ToProductServiceCommandResponseArrayOutputWithContext(ctx context.Context) ProductServiceCommandResponseArrayOutput
- type ProductServiceCommandResponseArrayInput
- type ProductServiceCommandResponseArrayOutput
- func (ProductServiceCommandResponseArrayOutput) ElementType() reflect.Type
- func (o ProductServiceCommandResponseArrayOutput) Index(i pulumi.IntInput) ProductServiceCommandResponseOutput
- func (o ProductServiceCommandResponseArrayOutput) ToProductServiceCommandResponseArrayOutput() ProductServiceCommandResponseArrayOutput
- func (o ProductServiceCommandResponseArrayOutput) ToProductServiceCommandResponseArrayOutputWithContext(ctx context.Context) ProductServiceCommandResponseArrayOutput
- type ProductServiceCommandResponseInput
- type ProductServiceCommandResponseOutput
- func (o ProductServiceCommandResponseOutput) Description() pulumi.StringPtrOutput
- func (ProductServiceCommandResponseOutput) ElementType() reflect.Type
- func (o ProductServiceCommandResponseOutput) EnumLists() pulumi.StringArrayOutput
- func (o ProductServiceCommandResponseOutput) Max() pulumi.StringPtrOutput
- func (o ProductServiceCommandResponseOutput) MaxLength() pulumi.IntPtrOutput
- func (o ProductServiceCommandResponseOutput) Min() pulumi.StringPtrOutput
- func (o ProductServiceCommandResponseOutput) Name() pulumi.StringOutput
- func (o ProductServiceCommandResponseOutput) Step() pulumi.Float64PtrOutput
- func (o ProductServiceCommandResponseOutput) ToProductServiceCommandResponseOutput() ProductServiceCommandResponseOutput
- func (o ProductServiceCommandResponseOutput) ToProductServiceCommandResponseOutputWithContext(ctx context.Context) ProductServiceCommandResponseOutput
- func (o ProductServiceCommandResponseOutput) Type() pulumi.StringOutput
- func (o ProductServiceCommandResponseOutput) Unit() pulumi.StringPtrOutput
- type ProductServiceInput
- type ProductServiceOutput
- func (o ProductServiceOutput) Commands() ProductServiceCommandArrayOutput
- func (o ProductServiceOutput) Description() pulumi.StringPtrOutput
- func (ProductServiceOutput) ElementType() reflect.Type
- func (o ProductServiceOutput) Id() pulumi.StringOutput
- func (o ProductServiceOutput) Properties() ProductServicePropertyArrayOutput
- func (o ProductServiceOutput) ToProductServiceOutput() ProductServiceOutput
- func (o ProductServiceOutput) ToProductServiceOutputWithContext(ctx context.Context) ProductServiceOutput
- func (o ProductServiceOutput) Type() pulumi.StringPtrOutput
- type ProductServiceProperty
- type ProductServicePropertyArgs
- type ProductServicePropertyArray
- func (ProductServicePropertyArray) ElementType() reflect.Type
- func (i ProductServicePropertyArray) ToProductServicePropertyArrayOutput() ProductServicePropertyArrayOutput
- func (i ProductServicePropertyArray) ToProductServicePropertyArrayOutputWithContext(ctx context.Context) ProductServicePropertyArrayOutput
- type ProductServicePropertyArrayInput
- type ProductServicePropertyArrayOutput
- func (ProductServicePropertyArrayOutput) ElementType() reflect.Type
- func (o ProductServicePropertyArrayOutput) Index(i pulumi.IntInput) ProductServicePropertyOutput
- func (o ProductServicePropertyArrayOutput) ToProductServicePropertyArrayOutput() ProductServicePropertyArrayOutput
- func (o ProductServicePropertyArrayOutput) ToProductServicePropertyArrayOutputWithContext(ctx context.Context) ProductServicePropertyArrayOutput
- type ProductServicePropertyInput
- type ProductServicePropertyOutput
- func (o ProductServicePropertyOutput) Description() pulumi.StringPtrOutput
- func (ProductServicePropertyOutput) ElementType() reflect.Type
- func (o ProductServicePropertyOutput) EnumLists() pulumi.StringArrayOutput
- func (o ProductServicePropertyOutput) Max() pulumi.StringPtrOutput
- func (o ProductServicePropertyOutput) MaxLength() pulumi.IntPtrOutput
- func (o ProductServicePropertyOutput) Method() pulumi.StringOutput
- func (o ProductServicePropertyOutput) Min() pulumi.StringPtrOutput
- func (o ProductServicePropertyOutput) Name() pulumi.StringOutput
- func (o ProductServicePropertyOutput) Step() pulumi.Float64PtrOutput
- func (o ProductServicePropertyOutput) ToProductServicePropertyOutput() ProductServicePropertyOutput
- func (o ProductServicePropertyOutput) ToProductServicePropertyOutputWithContext(ctx context.Context) ProductServicePropertyOutput
- func (o ProductServicePropertyOutput) Type() pulumi.StringOutput
- func (o ProductServicePropertyOutput) Unit() pulumi.StringPtrOutput
- type ProductState
- type Space
- type SpaceArgs
- type SpaceArray
- type SpaceArrayInput
- type SpaceArrayOutput
- type SpaceInput
- type SpaceMap
- type SpaceMapInput
- type SpaceMapOutput
- type SpaceOutput
- func (SpaceOutput) ElementType() reflect.Type
- func (o SpaceOutput) IsDefault() pulumi.BoolOutput
- func (o SpaceOutput) Name() pulumi.StringOutput
- func (o SpaceOutput) Region() pulumi.StringOutput
- func (o SpaceOutput) ToSpaceOutput() SpaceOutput
- func (o SpaceOutput) ToSpaceOutputWithContext(ctx context.Context) SpaceOutput
- type SpaceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.2
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) 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 ¶
type AmqpArray ¶
type AmqpArray []AmqpInput
func (AmqpArray) ElementType ¶
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 (o AmqpArrayOutput) Index(i pulumi.IntInput) AmqpOutput
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 ¶
func (AmqpMap) ElementType ¶
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 (o AmqpMapOutput) MapIndex(k pulumi.StringInput) AmqpOutput
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 ¶
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) ElementType() reflect.Type
func (DataforwardingRuleArrayOutput) Index ¶
func (o DataforwardingRuleArrayOutput) Index(i pulumi.IntInput) DataforwardingRuleOutput
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) ElementType() reflect.Type
func (DataforwardingRuleMapOutput) MapIndex ¶
func (o DataforwardingRuleMapOutput) MapIndex(k pulumi.StringInput) DataforwardingRuleOutput
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 ¶
func (o DataforwardingRuleOutput) Description() pulumi.StringPtrOutput
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 ¶
func (o DataforwardingRuleOutput) Enabled() pulumi.BoolPtrOutput
Specifies whether to enable the data forwarding rule. Defaults to `false`. Can not enable without `targets`.
func (DataforwardingRuleOutput) Name ¶
func (o DataforwardingRuleOutput) Name() pulumi.StringOutput
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 ¶
func (o DataforwardingRuleOutput) Region() pulumi.StringOutput
Specifies the region to which the KAFKA belongs.
func (DataforwardingRuleOutput) Select ¶
func (o DataforwardingRuleOutput) Select() pulumi.StringPtrOutput
Specifies the SQL SELECT statement which contains a maximum of 500 characters.
func (DataforwardingRuleOutput) SpaceId ¶
func (o DataforwardingRuleOutput) SpaceId() pulumi.StringOutput
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 ¶
func (o DataforwardingRuleOutput) Targets() DataforwardingRuleTargetArrayOutput
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 ¶
func (o DataforwardingRuleOutput) Trigger() pulumi.StringOutput
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 ¶
func (o DataforwardingRuleOutput) Where() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DataforwardingRuleTargetAmqpForwardingOutput) QueueName ¶
func (o DataforwardingRuleTargetAmqpForwardingOutput) QueueName() pulumi.StringOutput
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
func DataforwardingRuleTargetAmqpForwardingPtr ¶
func DataforwardingRuleTargetAmqpForwardingPtr(v *DataforwardingRuleTargetAmqpForwardingArgs) DataforwardingRuleTargetAmqpForwardingPtrInput
type DataforwardingRuleTargetAmqpForwardingPtrOutput ¶
type DataforwardingRuleTargetAmqpForwardingPtrOutput struct{ *pulumi.OutputState }
func (DataforwardingRuleTargetAmqpForwardingPtrOutput) ElementType ¶
func (DataforwardingRuleTargetAmqpForwardingPtrOutput) ElementType() reflect.Type
func (DataforwardingRuleTargetAmqpForwardingPtrOutput) QueueName ¶
func (o DataforwardingRuleTargetAmqpForwardingPtrOutput) QueueName() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DataforwardingRuleTargetArrayOutput) Index ¶
func (o DataforwardingRuleTargetArrayOutput) Index(i pulumi.IntInput) DataforwardingRuleTargetOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DataforwardingRuleTargetDisForwardingOutput) ProjectId ¶
func (o DataforwardingRuleTargetDisForwardingOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.
func (DataforwardingRuleTargetDisForwardingOutput) Region ¶
func (o DataforwardingRuleTargetDisForwardingOutput) Region() pulumi.StringOutput
Specifies the region to which the KAFKA belongs.
func (DataforwardingRuleTargetDisForwardingOutput) StreamId ¶
func (o DataforwardingRuleTargetDisForwardingOutput) StreamId() pulumi.StringOutput
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
func DataforwardingRuleTargetDisForwardingPtr ¶
func DataforwardingRuleTargetDisForwardingPtr(v *DataforwardingRuleTargetDisForwardingArgs) DataforwardingRuleTargetDisForwardingPtrInput
type DataforwardingRuleTargetDisForwardingPtrOutput ¶
type DataforwardingRuleTargetDisForwardingPtrOutput struct{ *pulumi.OutputState }
func (DataforwardingRuleTargetDisForwardingPtrOutput) ElementType ¶
func (DataforwardingRuleTargetDisForwardingPtrOutput) ElementType() reflect.Type
func (DataforwardingRuleTargetDisForwardingPtrOutput) ProjectId ¶
func (o DataforwardingRuleTargetDisForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.
func (DataforwardingRuleTargetDisForwardingPtrOutput) Region ¶
func (o DataforwardingRuleTargetDisForwardingPtrOutput) Region() pulumi.StringPtrOutput
Specifies the region to which the KAFKA belongs.
func (DataforwardingRuleTargetDisForwardingPtrOutput) StreamId ¶
func (o DataforwardingRuleTargetDisForwardingPtrOutput) StreamId() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o DataforwardingRuleTargetHttpForwardingOutput) Url() pulumi.StringOutput
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
func DataforwardingRuleTargetHttpForwardingPtr ¶
func DataforwardingRuleTargetHttpForwardingPtr(v *DataforwardingRuleTargetHttpForwardingArgs) DataforwardingRuleTargetHttpForwardingPtrInput
type DataforwardingRuleTargetHttpForwardingPtrOutput ¶
type DataforwardingRuleTargetHttpForwardingPtrOutput struct{ *pulumi.OutputState }
func (DataforwardingRuleTargetHttpForwardingPtrOutput) ElementType ¶
func (DataforwardingRuleTargetHttpForwardingPtrOutput) ElementType() reflect.Type
func (DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput ¶
func (o DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutput() DataforwardingRuleTargetHttpForwardingPtrOutput
func (DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext ¶
func (o DataforwardingRuleTargetHttpForwardingPtrOutput) ToDataforwardingRuleTargetHttpForwardingPtrOutputWithContext(ctx context.Context) DataforwardingRuleTargetHttpForwardingPtrOutput
func (DataforwardingRuleTargetHttpForwardingPtrOutput) Url ¶
func (o DataforwardingRuleTargetHttpForwardingPtrOutput) Url() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput ¶
func (o DataforwardingRuleTargetKafkaForwardingAddressArrayOutput) ToDataforwardingRuleTargetKafkaForwardingAddressArrayOutput() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
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 ¶
func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) Domain() pulumi.StringPtrOutput
Specifies the domain of the connected service address. Exactly one of `ip` or `domain` must be provided.
func (DataforwardingRuleTargetKafkaForwardingAddressOutput) ElementType ¶
func (DataforwardingRuleTargetKafkaForwardingAddressOutput) ElementType() reflect.Type
func (DataforwardingRuleTargetKafkaForwardingAddressOutput) Ip ¶
Specifies the IP of the connected service address. Exactly one of `ip` or `domain` must be provided.
func (DataforwardingRuleTargetKafkaForwardingAddressOutput) Port ¶
func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) Port() pulumi.IntOutput
Specifies the port of the connected service address.
func (DataforwardingRuleTargetKafkaForwardingAddressOutput) ToDataforwardingRuleTargetKafkaForwardingAddressOutput ¶
func (o DataforwardingRuleTargetKafkaForwardingAddressOutput) ToDataforwardingRuleTargetKafkaForwardingAddressOutput() DataforwardingRuleTargetKafkaForwardingAddressOutput
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) ElementType() reflect.Type
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 ¶
func (o DataforwardingRuleTargetKafkaForwardingOutput) Addresses() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
Specifies the list of the connected service addresses. The addresses structure is documented below.
func (DataforwardingRuleTargetKafkaForwardingOutput) ElementType ¶
func (DataforwardingRuleTargetKafkaForwardingOutput) ElementType() reflect.Type
func (DataforwardingRuleTargetKafkaForwardingOutput) Password ¶
func (o DataforwardingRuleTargetKafkaForwardingOutput) Password() pulumi.StringPtrOutput
Specifies the password.
func (DataforwardingRuleTargetKafkaForwardingOutput) ProjectId ¶
func (o DataforwardingRuleTargetKafkaForwardingOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.
func (DataforwardingRuleTargetKafkaForwardingOutput) Region ¶
func (o DataforwardingRuleTargetKafkaForwardingOutput) Region() pulumi.StringOutput
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 ¶
func (o DataforwardingRuleTargetKafkaForwardingOutput) Topic() pulumi.StringOutput
Specifies the topic.
func (DataforwardingRuleTargetKafkaForwardingOutput) UserName ¶
func (o DataforwardingRuleTargetKafkaForwardingOutput) UserName() pulumi.StringPtrOutput
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
func DataforwardingRuleTargetKafkaForwardingPtr ¶
func DataforwardingRuleTargetKafkaForwardingPtr(v *DataforwardingRuleTargetKafkaForwardingArgs) DataforwardingRuleTargetKafkaForwardingPtrInput
type DataforwardingRuleTargetKafkaForwardingPtrOutput ¶
type DataforwardingRuleTargetKafkaForwardingPtrOutput struct{ *pulumi.OutputState }
func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Addresses ¶
func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Addresses() DataforwardingRuleTargetKafkaForwardingAddressArrayOutput
Specifies the list of the connected service addresses. The addresses structure is documented below.
func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ElementType ¶
func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ElementType() reflect.Type
func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Password ¶
func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Password() pulumi.StringPtrOutput
Specifies the password.
func (DataforwardingRuleTargetKafkaForwardingPtrOutput) ProjectId ¶
func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.
func (DataforwardingRuleTargetKafkaForwardingPtrOutput) Region ¶
func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Region() pulumi.StringPtrOutput
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 ¶
func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) Topic() pulumi.StringPtrOutput
Specifies the topic.
func (DataforwardingRuleTargetKafkaForwardingPtrOutput) UserName ¶
func (o DataforwardingRuleTargetKafkaForwardingPtrOutput) UserName() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o DataforwardingRuleTargetObsForwardingOutput) Bucket() pulumi.StringOutput
Specifies the OBS Bucket.
func (DataforwardingRuleTargetObsForwardingOutput) CustomDirectory ¶
func (o DataforwardingRuleTargetObsForwardingOutput) CustomDirectory() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (DataforwardingRuleTargetObsForwardingOutput) ProjectId ¶
func (o DataforwardingRuleTargetObsForwardingOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.
func (DataforwardingRuleTargetObsForwardingOutput) Region ¶
func (o DataforwardingRuleTargetObsForwardingOutput) Region() pulumi.StringOutput
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
func DataforwardingRuleTargetObsForwardingPtr ¶
func DataforwardingRuleTargetObsForwardingPtr(v *DataforwardingRuleTargetObsForwardingArgs) DataforwardingRuleTargetObsForwardingPtrInput
type DataforwardingRuleTargetObsForwardingPtrOutput ¶
type DataforwardingRuleTargetObsForwardingPtrOutput struct{ *pulumi.OutputState }
func (DataforwardingRuleTargetObsForwardingPtrOutput) Bucket ¶
func (o DataforwardingRuleTargetObsForwardingPtrOutput) Bucket() pulumi.StringPtrOutput
Specifies the OBS Bucket.
func (DataforwardingRuleTargetObsForwardingPtrOutput) CustomDirectory ¶
func (o DataforwardingRuleTargetObsForwardingPtrOutput) CustomDirectory() pulumi.StringPtrOutput
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) ElementType ¶
func (DataforwardingRuleTargetObsForwardingPtrOutput) ElementType() reflect.Type
func (DataforwardingRuleTargetObsForwardingPtrOutput) ProjectId ¶
func (o DataforwardingRuleTargetObsForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the KAFKA belongs. If omitted, the default project in the region will be used.
func (DataforwardingRuleTargetObsForwardingPtrOutput) Region ¶
func (o DataforwardingRuleTargetObsForwardingPtrOutput) Region() pulumi.StringPtrOutput
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 ¶
func (o DataforwardingRuleTargetOutput) AmqpForwarding() DataforwardingRuleTargetAmqpForwardingPtrOutput
Specifies the detail of AMQP forwards. It is required when type is `AMQP_FORWARDING`. The amqpForwarding structure is documented below.
func (DataforwardingRuleTargetOutput) DisForwarding ¶
func (o DataforwardingRuleTargetOutput) DisForwarding() DataforwardingRuleTargetDisForwardingPtrOutput
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) ElementType() reflect.Type
func (DataforwardingRuleTargetOutput) HttpForwarding ¶
func (o DataforwardingRuleTargetOutput) HttpForwarding() DataforwardingRuleTargetHttpForwardingPtrOutput
Specifies the detail of the HTTP forwards. It is required when type is `HTTP_FORWARDING`. The httpForwarding structure is documented below.
func (DataforwardingRuleTargetOutput) Id ¶
func (o DataforwardingRuleTargetOutput) Id() pulumi.StringPtrOutput
The resource ID in UUID format.
func (DataforwardingRuleTargetOutput) KafkaForwarding ¶
func (o DataforwardingRuleTargetOutput) KafkaForwarding() DataforwardingRuleTargetKafkaForwardingPtrOutput
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 ¶
func (o DataforwardingRuleTargetOutput) ObsForwarding() DataforwardingRuleTargetObsForwardingPtrOutput
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 ¶
func (o DataforwardingRuleTargetOutput) Type() pulumi.StringOutput
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) 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 (o DeviceArrayOutput) Index(i pulumi.IntInput) DeviceOutput
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) ElementType() reflect.Type
func (DeviceCertificateArrayOutput) Index ¶
func (o DeviceCertificateArrayOutput) Index(i pulumi.IntInput) DeviceCertificateOutput
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 (o DeviceCertificateMapOutput) MapIndex(k pulumi.StringInput) DeviceCertificateOutput
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 ¶
func (o DeviceCertificateOutput) Cn() pulumi.StringOutput
The CN name of the device CA certificate.
func (DeviceCertificateOutput) Content ¶
func (o DeviceCertificateOutput) Content() pulumi.StringOutput
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 ¶
func (o DeviceCertificateOutput) ExpiryDate() pulumi.StringOutput
The expiry date of the device CA certificate. The format is: **yyyyMMdd'T'HHmmss'Z'**, e.g., **20151212T121212Z**.
func (DeviceCertificateOutput) Owner ¶
func (o DeviceCertificateOutput) Owner() pulumi.StringOutput
The owner of the device CA certificate.
func (DeviceCertificateOutput) Region ¶
func (o DeviceCertificateOutput) Region() pulumi.StringOutput
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 ¶
func (o DeviceCertificateOutput) SpaceId() pulumi.StringPtrOutput
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 ¶
func (o DeviceCertificateOutput) Status() pulumi.StringOutput
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 ¶
func (o DeviceCertificateOutput) VerifyCode() pulumi.StringOutput
The verify code of the device CA certificate.
func (DeviceCertificateOutput) VerifyContent ¶
func (o DeviceCertificateOutput) VerifyContent() pulumi.StringPtrOutput
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 (o DeviceGroupArrayOutput) Index(i pulumi.IntInput) DeviceGroupOutput
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 (o DeviceGroupMapOutput) MapIndex(k pulumi.StringInput) DeviceGroupOutput
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 ¶
func (o DeviceGroupOutput) DeviceIds() pulumi.StringArrayOutput
Specifies the list of device IDs bound to the group.
func (DeviceGroupOutput) ElementType ¶
func (DeviceGroupOutput) ElementType() reflect.Type
func (DeviceGroupOutput) Name ¶
func (o DeviceGroupOutput) Name() pulumi.StringOutput
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 ¶
func (o DeviceGroupOutput) Region() pulumi.StringOutput
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 ¶
func (o DeviceGroupOutput) SpaceId() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceLinkageRuleActionArrayOutput) Index ¶
func (o DeviceLinkageRuleActionArrayOutput) Index(i pulumi.IntInput) DeviceLinkageRuleActionOutput
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) ElementType() reflect.Type
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 ¶
func (o DeviceLinkageRuleActionDeviceAlarmOutput) Description() pulumi.StringPtrOutput
Specifies the description of the alarm.
func (DeviceLinkageRuleActionDeviceAlarmOutput) ElementType ¶
func (DeviceLinkageRuleActionDeviceAlarmOutput) ElementType() reflect.Type
func (DeviceLinkageRuleActionDeviceAlarmOutput) Name ¶
func (o DeviceLinkageRuleActionDeviceAlarmOutput) Name() pulumi.StringOutput
Specifies the name of the alarm.
func (DeviceLinkageRuleActionDeviceAlarmOutput) Severity ¶
func (o DeviceLinkageRuleActionDeviceAlarmOutput) Severity() pulumi.StringOutput
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 ¶
func (o DeviceLinkageRuleActionDeviceAlarmOutput) Type() pulumi.StringOutput
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
func DeviceLinkageRuleActionDeviceAlarmPtr ¶
func DeviceLinkageRuleActionDeviceAlarmPtr(v *DeviceLinkageRuleActionDeviceAlarmArgs) DeviceLinkageRuleActionDeviceAlarmPtrInput
type DeviceLinkageRuleActionDeviceAlarmPtrOutput ¶
type DeviceLinkageRuleActionDeviceAlarmPtrOutput struct{ *pulumi.OutputState }
func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Description ¶
func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Description() pulumi.StringPtrOutput
Specifies the description of the alarm.
func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) ElementType ¶
func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) ElementType() reflect.Type
func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Name ¶
func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Name() pulumi.StringPtrOutput
Specifies the name of the alarm.
func (DeviceLinkageRuleActionDeviceAlarmPtrOutput) Severity ¶
func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Severity() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleActionDeviceAlarmPtrOutput) Type() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o DeviceLinkageRuleActionDeviceCommandOutput) CommandBody() pulumi.StringOutput
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 ¶
func (o DeviceLinkageRuleActionDeviceCommandOutput) CommandName() pulumi.StringOutput
Specifies the command name.
func (DeviceLinkageRuleActionDeviceCommandOutput) DeviceId ¶
func (o DeviceLinkageRuleActionDeviceCommandOutput) DeviceId() pulumi.StringOutput
Specifies the device id which excutes the command.
func (DeviceLinkageRuleActionDeviceCommandOutput) ElementType ¶
func (DeviceLinkageRuleActionDeviceCommandOutput) ElementType() reflect.Type
func (DeviceLinkageRuleActionDeviceCommandOutput) ServiceId ¶
func (o DeviceLinkageRuleActionDeviceCommandOutput) ServiceId() pulumi.StringOutput
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
func DeviceLinkageRuleActionDeviceCommandPtr ¶
func DeviceLinkageRuleActionDeviceCommandPtr(v *DeviceLinkageRuleActionDeviceCommandArgs) DeviceLinkageRuleActionDeviceCommandPtrInput
type DeviceLinkageRuleActionDeviceCommandPtrOutput ¶
type DeviceLinkageRuleActionDeviceCommandPtrOutput struct{ *pulumi.OutputState }
func (DeviceLinkageRuleActionDeviceCommandPtrOutput) CommandBody ¶
func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) CommandBody() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) CommandName() pulumi.StringPtrOutput
Specifies the command name.
func (DeviceLinkageRuleActionDeviceCommandPtrOutput) DeviceId ¶
func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) DeviceId() pulumi.StringPtrOutput
Specifies the device id which excutes the command.
func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ElementType ¶
func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ElementType() reflect.Type
func (DeviceLinkageRuleActionDeviceCommandPtrOutput) ServiceId ¶
func (o DeviceLinkageRuleActionDeviceCommandPtrOutput) ServiceId() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleActionOutput) DeviceAlarm() DeviceLinkageRuleActionDeviceAlarmPtrOutput
Specifies the detail of device alarm. It is required when type is `DEVICE_ALARM`. The deviceAlarm structure is documented below.
func (DeviceLinkageRuleActionOutput) DeviceCommand ¶
func (o DeviceLinkageRuleActionOutput) DeviceCommand() DeviceLinkageRuleActionDeviceCommandPtrOutput
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) ElementType() reflect.Type
func (DeviceLinkageRuleActionOutput) SmnForwarding ¶
func (o DeviceLinkageRuleActionOutput) SmnForwarding() DeviceLinkageRuleActionSmnForwardingPtrOutput
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 ¶
func (o DeviceLinkageRuleActionOutput) Type() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceLinkageRuleActionSmnForwardingOutput) MessageContent ¶
func (o DeviceLinkageRuleActionSmnForwardingOutput) MessageContent() pulumi.StringOutput
Specifies the message content.
func (DeviceLinkageRuleActionSmnForwardingOutput) MessageTitle ¶
func (o DeviceLinkageRuleActionSmnForwardingOutput) MessageTitle() pulumi.StringOutput
Specifies the message title.
func (DeviceLinkageRuleActionSmnForwardingOutput) ProjectId ¶
func (o DeviceLinkageRuleActionSmnForwardingOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the SMN belongs. If omitted, the default project in the region will be used.
func (DeviceLinkageRuleActionSmnForwardingOutput) Region ¶
func (o DeviceLinkageRuleActionSmnForwardingOutput) Region() pulumi.StringOutput
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 ¶
func (o DeviceLinkageRuleActionSmnForwardingOutput) TopicName() pulumi.StringOutput
Specifies the topic name of the SMN.
func (DeviceLinkageRuleActionSmnForwardingOutput) TopicUrn ¶
func (o DeviceLinkageRuleActionSmnForwardingOutput) TopicUrn() pulumi.StringOutput
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
func DeviceLinkageRuleActionSmnForwardingPtr ¶
func DeviceLinkageRuleActionSmnForwardingPtr(v *DeviceLinkageRuleActionSmnForwardingArgs) DeviceLinkageRuleActionSmnForwardingPtrInput
type DeviceLinkageRuleActionSmnForwardingPtrOutput ¶
type DeviceLinkageRuleActionSmnForwardingPtrOutput struct{ *pulumi.OutputState }
func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ElementType ¶
func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ElementType() reflect.Type
func (DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageContent ¶
func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageContent() pulumi.StringPtrOutput
Specifies the message content.
func (DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageTitle ¶
func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) MessageTitle() pulumi.StringPtrOutput
Specifies the message title.
func (DeviceLinkageRuleActionSmnForwardingPtrOutput) ProjectId ¶
func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) ProjectId() pulumi.StringPtrOutput
Specifies the project ID to which the SMN belongs. If omitted, the default project in the region will be used.
func (DeviceLinkageRuleActionSmnForwardingPtrOutput) Region ¶
func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) Region() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) TopicName() pulumi.StringPtrOutput
Specifies the topic name of the SMN.
func (DeviceLinkageRuleActionSmnForwardingPtrOutput) TopicUrn ¶
func (o DeviceLinkageRuleActionSmnForwardingPtrOutput) TopicUrn() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (DeviceLinkageRuleArrayOutput) Index ¶
func (o DeviceLinkageRuleArrayOutput) Index(i pulumi.IntInput) DeviceLinkageRuleOutput
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) ElementType() reflect.Type
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 ¶
func (o DeviceLinkageRuleEffectivePeriodOutput) DaysOfWeek() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (DeviceLinkageRuleEffectivePeriodOutput) EndTime ¶
func (o DeviceLinkageRuleEffectivePeriodOutput) EndTime() pulumi.StringOutput
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 ¶
func (o DeviceLinkageRuleEffectivePeriodOutput) StartTime() pulumi.StringOutput
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
func DeviceLinkageRuleEffectivePeriodPtr ¶
func DeviceLinkageRuleEffectivePeriodPtr(v *DeviceLinkageRuleEffectivePeriodArgs) DeviceLinkageRuleEffectivePeriodPtrInput
type DeviceLinkageRuleEffectivePeriodPtrOutput ¶
type DeviceLinkageRuleEffectivePeriodPtrOutput struct{ *pulumi.OutputState }
func (DeviceLinkageRuleEffectivePeriodPtrOutput) DaysOfWeek ¶
func (o DeviceLinkageRuleEffectivePeriodPtrOutput) DaysOfWeek() pulumi.StringPtrOutput
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) ElementType ¶
func (DeviceLinkageRuleEffectivePeriodPtrOutput) ElementType() reflect.Type
func (DeviceLinkageRuleEffectivePeriodPtrOutput) EndTime ¶
func (o DeviceLinkageRuleEffectivePeriodPtrOutput) EndTime() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleEffectivePeriodPtrOutput) StartTime() pulumi.StringPtrOutput
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 (o DeviceLinkageRuleMapOutput) MapIndex(k pulumi.StringInput) DeviceLinkageRuleOutput
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 ¶
func (o DeviceLinkageRuleOutput) Actions() DeviceLinkageRuleActionArrayOutput
Specifies the list of the actions, at most 10 actions. The actions structure is documented below.
func (DeviceLinkageRuleOutput) Description ¶
func (o DeviceLinkageRuleOutput) Description() pulumi.StringPtrOutput
Specifies the description of the alarm.
func (DeviceLinkageRuleOutput) EffectivePeriod ¶
func (o DeviceLinkageRuleOutput) EffectivePeriod() DeviceLinkageRuleEffectivePeriodPtrOutput
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 ¶
func (o DeviceLinkageRuleOutput) Enabled() pulumi.BoolPtrOutput
Specifies whether to enable the device linkage rule. Defaults to `true`.
func (DeviceLinkageRuleOutput) Name ¶
func (o DeviceLinkageRuleOutput) Name() pulumi.StringOutput
Specifies the name of the alarm.
func (DeviceLinkageRuleOutput) Region ¶
func (o DeviceLinkageRuleOutput) Region() pulumi.StringOutput
Specifies the region to which the SMN belongs.
func (DeviceLinkageRuleOutput) SpaceId ¶
func (o DeviceLinkageRuleOutput) SpaceId() pulumi.StringOutput
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 ¶
func (o DeviceLinkageRuleOutput) TriggerLogic() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleOutput) Triggers() DeviceLinkageRuleTriggerArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerArrayOutput) Index ¶
func (o DeviceLinkageRuleTriggerArrayOutput) Index(i pulumi.IntInput) DeviceLinkageRuleTriggerOutput
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) ElementType() reflect.Type
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 ¶
func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) DaysOfWeek() pulumi.StringPtrOutput
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) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerDailyTimerConditionOutput) StartTime ¶
func (o DeviceLinkageRuleTriggerDailyTimerConditionOutput) StartTime() pulumi.StringOutput
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
func DeviceLinkageRuleTriggerDailyTimerConditionPtr ¶
func DeviceLinkageRuleTriggerDailyTimerConditionPtr(v *DeviceLinkageRuleTriggerDailyTimerConditionArgs) DeviceLinkageRuleTriggerDailyTimerConditionPtrInput
type DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput ¶
type DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput struct{ *pulumi.OutputState }
func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) DaysOfWeek ¶
func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) DaysOfWeek() pulumi.StringPtrOutput
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) ElementType ¶
func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) StartTime ¶
func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the start time, in the format: `HH:mm`. For example: `03:00`.
func (DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput ¶
func (o DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerDailyTimerConditionPtrOutput() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
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) ElementType() reflect.Type
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 ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) DataValidatiyPeriod() pulumi.IntPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) DeviceId() pulumi.StringPtrOutput
Specifies the device id which excutes the command.
func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ElementType ¶
func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) Operator ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) Operator() pulumi.StringOutput
Specifies the data comparison operator. The valid values are: **>**, **<**, **>=**, **<=**, **=** and **between**.
func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) Path ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) Path() pulumi.StringOutput
Specifies the path of the device property, in the format: **service_id/DataProperty**.
func (DeviceLinkageRuleTriggerDeviceDataConditionOutput) ProductId ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) ProductId() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) TriggerStrategy() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionOutput) Value() pulumi.StringOutput
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
func DeviceLinkageRuleTriggerDeviceDataConditionPtr ¶
func DeviceLinkageRuleTriggerDeviceDataConditionPtr(v *DeviceLinkageRuleTriggerDeviceDataConditionArgs) DeviceLinkageRuleTriggerDeviceDataConditionPtrInput
type DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput ¶
type DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput struct{ *pulumi.OutputState }
func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) DataValidatiyPeriod ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) DataValidatiyPeriod() pulumi.IntPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) DeviceId() pulumi.StringPtrOutput
Specifies the device id which excutes the command.
func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ElementType ¶
func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Operator ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Operator() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ProductId() pulumi.StringPtrOutput
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 (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutput() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) ToDeviceLinkageRuleTriggerDeviceDataConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
func (DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) TriggerStrategy ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) TriggerStrategy() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput) Value() pulumi.StringPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerOutput) DailyTimerCondition() DeviceLinkageRuleTriggerDailyTimerConditionPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerOutput) DeviceDataCondition() DeviceLinkageRuleTriggerDeviceDataConditionPtrOutput
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) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerOutput) SimpleTimerCondition ¶
func (o DeviceLinkageRuleTriggerOutput) SimpleTimerCondition() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
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 ¶
func (o DeviceLinkageRuleTriggerOutput) Type() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatCount ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatCount() pulumi.IntOutput
Specifies total number of repetition.
func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatInterval ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) RepeatInterval() pulumi.IntOutput
Specifies the interval of repetition, Unit is `minutes`.
func (DeviceLinkageRuleTriggerSimpleTimerConditionOutput) StartTime ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionOutput) StartTime() pulumi.StringOutput
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
func DeviceLinkageRuleTriggerSimpleTimerConditionPtr ¶
func DeviceLinkageRuleTriggerSimpleTimerConditionPtr(v *DeviceLinkageRuleTriggerSimpleTimerConditionArgs) DeviceLinkageRuleTriggerSimpleTimerConditionPtrInput
type DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput ¶
type DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput struct{ *pulumi.OutputState }
func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ElementType ¶
func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ElementType() reflect.Type
func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatCount ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatCount() pulumi.IntPtrOutput
Specifies total number of repetition.
func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatInterval ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) RepeatInterval() pulumi.IntPtrOutput
Specifies the interval of repetition, Unit is `minutes`.
func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) StartTime ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the start time, in the format: `HH:mm`. For example: `03:00`.
func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput() DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
func (DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext ¶
func (o DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput) ToDeviceLinkageRuleTriggerSimpleTimerConditionPtrOutputWithContext(ctx context.Context) DeviceLinkageRuleTriggerSimpleTimerConditionPtrOutput
type DeviceMap ¶
type DeviceMap map[string]DeviceInput
func (DeviceMap) ElementType ¶
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 (o DeviceMapOutput) MapIndex(k pulumi.StringInput) DeviceOutput
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 ¶
func (o DeviceOutput) Tags() pulumi.StringMapOutput
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) 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 (o ProductArrayOutput) Index(i pulumi.IntInput) ProductOutput
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 (o ProductMapOutput) MapIndex(k pulumi.StringInput) ProductOutput
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 ¶
func (o ProductOutput) Name() pulumi.StringOutput
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 ¶
func (o ProductOutput) Services() ProductServiceArrayOutput
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 (o ProductServiceArrayOutput) Index(i pulumi.IntInput) ProductServiceOutput
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) ElementType() reflect.Type
func (ProductServiceCommandArrayOutput) Index ¶
func (o ProductServiceCommandArrayOutput) Index(i pulumi.IntInput) ProductServiceCommandOutput
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) ElementType() reflect.Type
func (ProductServiceCommandOutput) Name ¶
func (o ProductServiceCommandOutput) Name() pulumi.StringOutput
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 ¶
func (o ProductServiceCommandOutput) Paras() ProductServiceCommandParaArrayOutput
Specifies the list of parameters for the command. The paras structure is documented below.
func (ProductServiceCommandOutput) Responses ¶
func (o ProductServiceCommandOutput) Responses() ProductServiceCommandResponseArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ProductServiceCommandParaArrayOutput) Index ¶
func (o ProductServiceCommandParaArrayOutput) Index(i pulumi.IntInput) ProductServiceCommandParaOutput
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 ¶
func (o ProductServiceCommandParaOutput) 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 (ProductServiceCommandParaOutput) ElementType ¶
func (ProductServiceCommandParaOutput) ElementType() reflect.Type
func (ProductServiceCommandParaOutput) EnumLists ¶
func (o ProductServiceCommandParaOutput) EnumLists() pulumi.StringArrayOutput
Specifies the list of enumerated values of the parameter.
func (ProductServiceCommandParaOutput) Max ¶
func (o ProductServiceCommandParaOutput) Max() pulumi.StringPtrOutput
Specifies the max value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
func (ProductServiceCommandParaOutput) MaxLength ¶
func (o ProductServiceCommandParaOutput) MaxLength() pulumi.IntPtrOutput
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 ¶
func (o ProductServiceCommandParaOutput) Min() pulumi.StringPtrOutput
Specifies the min value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
func (ProductServiceCommandParaOutput) Name ¶
func (o ProductServiceCommandParaOutput) Name() pulumi.StringOutput
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 ¶
func (o ProductServiceCommandParaOutput) Step() pulumi.Float64PtrOutput
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 ¶
func (o ProductServiceCommandParaOutput) Type() pulumi.StringOutput
Specifies the type of the parameter. The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
func (ProductServiceCommandParaOutput) Unit ¶
func (o ProductServiceCommandParaOutput) Unit() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ProductServiceCommandResponseOutput) 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 (ProductServiceCommandResponseOutput) ElementType ¶
func (ProductServiceCommandResponseOutput) ElementType() reflect.Type
func (ProductServiceCommandResponseOutput) EnumLists ¶
func (o ProductServiceCommandResponseOutput) EnumLists() pulumi.StringArrayOutput
Specifies the list of enumerated values of the parameter.
func (ProductServiceCommandResponseOutput) Max ¶
func (o ProductServiceCommandResponseOutput) Max() pulumi.StringPtrOutput
Specifies the max value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
func (ProductServiceCommandResponseOutput) MaxLength ¶
func (o ProductServiceCommandResponseOutput) MaxLength() pulumi.IntPtrOutput
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 ¶
func (o ProductServiceCommandResponseOutput) Min() pulumi.StringPtrOutput
Specifies the min value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
func (ProductServiceCommandResponseOutput) Name ¶
func (o ProductServiceCommandResponseOutput) Name() pulumi.StringOutput
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 ¶
func (o ProductServiceCommandResponseOutput) Step() pulumi.Float64PtrOutput
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 ¶
func (o ProductServiceCommandResponseOutput) Type() pulumi.StringOutput
Specifies the type of the parameter. The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
func (ProductServiceCommandResponseOutput) Unit ¶
func (o ProductServiceCommandResponseOutput) Unit() pulumi.StringPtrOutput
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 ¶
func (o ProductServiceOutput) Commands() ProductServiceCommandArrayOutput
Specifies the list of commands for the service. The commands structure is documented below.
func (ProductServiceOutput) Description ¶
func (o ProductServiceOutput) 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 (ProductServiceOutput) ElementType ¶
func (ProductServiceOutput) ElementType() reflect.Type
func (ProductServiceOutput) Id ¶
func (o ProductServiceOutput) Id() pulumi.StringOutput
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 ¶
func (o ProductServiceOutput) Properties() ProductServicePropertyArrayOutput
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 ¶
func (o ProductServiceOutput) Type() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ProductServicePropertyArrayOutput) Index ¶
func (o ProductServicePropertyArrayOutput) Index(i pulumi.IntInput) ProductServicePropertyOutput
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 ¶
func (o ProductServicePropertyOutput) 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 (ProductServicePropertyOutput) ElementType ¶
func (ProductServicePropertyOutput) ElementType() reflect.Type
func (ProductServicePropertyOutput) EnumLists ¶
func (o ProductServicePropertyOutput) EnumLists() pulumi.StringArrayOutput
Specifies the list of enumerated values of the parameter.
func (ProductServicePropertyOutput) Max ¶
func (o ProductServicePropertyOutput) Max() pulumi.StringPtrOutput
Specifies the max value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"65535"**.
func (ProductServicePropertyOutput) MaxLength ¶
func (o ProductServicePropertyOutput) MaxLength() pulumi.IntPtrOutput
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 ¶
func (o ProductServicePropertyOutput) Method() pulumi.StringOutput
Specifies the access mode of the device property. Options: **RW**, **W**, **R**.
func (ProductServicePropertyOutput) Min ¶
func (o ProductServicePropertyOutput) Min() pulumi.StringPtrOutput
Specifies the min value of the parameter when the `type` is **int** or **decimal**. Value range: -2147483647 ~ 2147483647. Defaults to **"0"**.
func (ProductServicePropertyOutput) Name ¶
func (o ProductServicePropertyOutput) Name() pulumi.StringOutput
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 ¶
func (o ProductServicePropertyOutput) Step() pulumi.Float64PtrOutput
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 ¶
func (o ProductServicePropertyOutput) Type() pulumi.StringOutput
Specifies the type of the parameter. The valid values are **int**, **decimal**, **string**, **DateTime**, **jsonObject** and **string list**.
func (ProductServicePropertyOutput) Unit ¶
func (o ProductServicePropertyOutput) Unit() pulumi.StringPtrOutput
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) 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 ¶
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 (o SpaceArrayOutput) Index(i pulumi.IntInput) SpaceOutput
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) 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 (o SpaceMapOutput) MapIndex(k pulumi.StringInput) SpaceOutput
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