# StreamVideo

> Resource StreamVideo in pulumi-bunnynet.

<!-- Generated from the pulumi-bunnynet SDK. -->

Resource StreamVideo in pulumi-bunnynet.

Pulumi type: `bunnynet:index/streamVideo:StreamVideo`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as bunnynet from "pulumi-bunnynet"

const resource = new bunnynet.StreamVideo("streamVideo", {
  library: 0,
  title: "<title>",
})
```

## Arguments

| Property      | Type                           | Required | Description                                              |
| ------------- | ------------------------------ | -------- | -------------------------------------------------------- |
| `chapters`    | `StreamVideoChapter (input)[]` | no       | The list of chapters available in the video.             |
| `collection`  | `string`                       | no       | The ID of the collection to which the video belongs.     |
| `description` | `string`                       | no       | The description of the video.                            |
| `library`     | `number`                       | yes      | The ID of the stream library to which the video belongs. |
| `moments`     | `StreamVideoMoment (input)[]`  | no       | The list of moments available in the video.              |
| `title`       | `string`                       | yes      | The title of the video.                                  |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property      | Type                            | Computed | Description                                              |
| ------------- | ------------------------------- | -------- | -------------------------------------------------------- |
| `chapters`    | `StreamVideoChapter (output)[]` | no       | The list of chapters available in the video.             |
| `collection`  | `string`                        | no       | The ID of the collection to which the video belongs.     |
| `description` | `string`                        | no       | The description of the video.                            |
| `library`     | `number`                        | no       | The ID of the stream library to which the video belongs. |
| `moments`     | `StreamVideoMoment (output)[]`  | no       | The list of moments available in the video.              |
| `title`       | `string`                        | no       | The title of the video.                                  |

## `StreamVideoChapter (input)`

Input object `StreamVideoChapter`. Fields below belong to this object, not to the parent.

| Property | Type     | Required | Description |
| -------- | -------- | -------- | ----------- |
| `end`    | `string` | no       |             |
| `start`  | `string` | no       |             |
| `title`  | `string` | no       |             |

## `StreamVideoMoment (input)`

Input object `StreamVideoMoment`. Fields below belong to this object, not to the parent.

| Property    | Type     | Required | Description |
| ----------- | -------- | -------- | ----------- |
| `label`     | `string` | no       |             |
| `timestamp` | `string` | no       |             |

## `StreamVideoChapter (output)`

Output object `StreamVideoChapter`. Fields below belong to this object.

| Property | Type     | Always present | Description |
| -------- | -------- | -------------- | ----------- |
| `end`    | `string` | no             |             |
| `start`  | `string` | no             |             |
| `title`  | `string` | no             |             |

## `StreamVideoMoment (output)`

Output object `StreamVideoMoment`. Fields below belong to this object.

| Property    | Type     | Always present | Description |
| ----------- | -------- | -------------- | ----------- |
| `label`     | `string` | no             |             |
| `timestamp` | `string` | no             |             |
