CreateSubscriptionRequest
The details of the subscription that you want to create.
CreateSubscriptionRequest
The details of the subscription that you want to create.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
accountidentifier | object | No | The ID of the authenticating billing account, in the format {"billingaccountid":"1234567890-12345"}. |
description | string | No | Descriptive information about the subscription. |
disabled | boolean | No | Enable or disable the subscription. A disabled subscription will not send any data. |
email | string | No | The address to which any error reports should be delivered. |
filter | string | No | String containing a $filter object with a property and value to filter out non-matching events. |
billingaccountid | string | No | |
streamkind | string | No | The type of event data to send via this subscription. This will be ts.event in most cases. Other event types are ts.event.diagnostics for device diagnostic data, ts.event.configuration for device configuration events, or ts.event.security. Note that the device ThingSpace client must support sending specific event types for anything other than ts.event. |
targetid | string | No | The ID of the target resource to be used when dispatching events. The corresponding target should have a “stream” addressscheme. |
name | string | No | Name of the subscription. |
allowaggregation | boolean | No | Setting this value to false prevents the data returned from being aggregated and makes the data easier to parse. |