mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-05 13:56:41 +00:00
32 lines
2.1 KiB
Markdown
32 lines
2.1 KiB
Markdown
![]() |
---
|
||
|
title: createDatabase
|
||
|
slug: /main-concepts/metadata-standard/schemas/api/data/createdatabase
|
||
|
---
|
||
|
|
||
|
# CreateDatabaseRequest
|
||
|
|
||
|
*Create Database entity request*
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
- **`name`**: Name that identifies this database instance uniquely. Refer to *../../type/basic.json#/definitions/entityName*.
|
||
|
- **`displayName`** *(string)*: Display Name that identifies this database.
|
||
|
- **`description`**: Description of the database instance. What it has and how to use it. Refer to *../../type/basic.json#/definitions/markdown*.
|
||
|
- **`tags`** *(array)*: Tags for this Database Service. Default: `None`.
|
||
|
- **Items**: Refer to *../../type/tagLabel.json*.
|
||
|
- **`owners`**: Owners of this database. Refer to *../../type/entityReferenceList.json*. Default: `None`.
|
||
|
- **`service`**: Link to the database service fully qualified name where this database is hosted in. Refer to *../../type/basic.json#/definitions/fullyQualifiedEntityName*.
|
||
|
- **`dataProducts`** *(array)*: List of fully qualified names of data products this entity is part of.
|
||
|
- **Items**: Refer to *../../type/basic.json#/definitions/fullyQualifiedEntityName*.
|
||
|
- **`default`** *(boolean)*: Some databases don't support a database/catalog in the hierarchy and use default database. For example, `MySql`. For such databases, set this flag to true to indicate that this is a default database. Default: `False`.
|
||
|
- **`retentionPeriod`**: Retention period of the data in the database. Period is expressed as duration in ISO 8601 format in UTC. Example - `P23DT23H`. Refer to *../../type/basic.json#/definitions/duration*.
|
||
|
- **`extension`**: Entity extension data with custom attributes added to the entity. Refer to *../../type/basic.json#/definitions/entityExtension*.
|
||
|
- **`sourceUrl`**: Source URL of database. Refer to *../../type/basic.json#/definitions/sourceUrl*.
|
||
|
- **`domains`** *(array)*: Fully qualified names of the domains the Database belongs to.
|
||
|
- **Items** *(string)*
|
||
|
- **`lifeCycle`**: Life Cycle of the entity. Refer to *../../type/lifeCycle.json*.
|
||
|
- **`sourceHash`** *(string)*: Source hash of the entity.
|
||
|
|
||
|
|
||
|
Documentation file automatically generated at 2025-08-12 05:39:47.683420+00:00.
|