DIS.Stream
Element Description
The DIS.Stream element is used to create cloud channel resources. You can use these resources to improve collection, transmission, and distribution capabilities.
Element Properties
| Property | Required | Descripiton |
|---|---|---|
| dataType | No | Data type. Type: string Value Description: BLOB: indecates Binary data, JSON: indecates JSON data, CSV: indicates simple text format data for storing tabular data, FILE: indecates source data from file. Default: BLOB Value Constraint: The value can only be BLOB, JSON, CSV or FILE. |
| streamName | Yes | Stream name Type: string Value Description: Supports an English character string. |
| streamType | No | Stream type Type: string Value Description: COMMON: indecates a common stream channel, false: indecates an advanced stream channel. Default: COMMON Value Constraint: The value can only be COMMON or ADVANCED. Suggestion: Set the value based on requirements. |
| instances | Yes | Number of DIS Stream Type: integer Default: 1 |
| resourceSpecCode | No | Resource Specification Types which have been registered at CBC. Type: string |
| dataDuration | No | The number of hours for which data from the stream will be retained in DIS. Type: integer Value Description: Supports an integer. Default: 24 Value Constraint: N*24, where N is an integer from 1 to 7. |
| dataSchema | No | Source data structure. Type: string Value Description: Must meet the syntax of Avro. Default: '' |
Relationships Between Elements
None.
Return Value
None.
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
diss3x9y:
type: HuaweiCloud.DIS.Stream
properties:
streamName: mystream
instances: 1 Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.