Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateStreamDetails

Object used to create a stream.

Properties

Optional compartmentId

compartmentId: undefined | string

The OCID of the compartment that contains the stream.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`

Optional freeformTags

freeformTags: undefined | object

Free-form tags for this resource. Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see Resource Tags.

Example: `{\"Department\": \"Finance\"}`

name

name: string

The name of the stream. Avoid entering confidential information.

Example: `TelemetryEvents`

partitions

partitions: number

The number of partitions in the stream. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional retentionInHours

retentionInHours: undefined | number

The retention period of the stream, in hours. Accepted values are between 24 and 168 (7 days). If not specified, the stream will have a retention period of 24 hours. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional streamPoolId

streamPoolId: undefined | string

The OCID of the stream pool that contains the stream.

Functions

getDeserializedJsonObj

getJsonObj