# Get a CDB by ID (Oracle only).

Endpoint: GET /vcdbs/{vcdbId}
Version: 3.17.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `vcdbId` (string, required)
    The ID of the vCDB.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (string)
    The vCDB object entity ID.
    Example: 1-CDB-1

  - `name` (string)
    The name of this vCDB.
    Example: Oracle CDB

  - `database_name` (string)
    The name of the container database in the Oracle DBMS.
    Example: VPDBSBBVK4

  - `namespace_id` (string)
    The namespace id of this vCDB.

  - `namespace_name` (string)
    The namespace name of this vCDB.

  - `is_replica` (boolean)
    Is this a replicated object.

  - `database_version` (string)
    The version of this vCDB.
    Example: 10.2.0.5.0

  - `environment_id` (string)
    A reference to the Environment that hosts this vCDB.
    Example: 1-ENVIRONMENT-1

  - `size` (integer)
    The total size of the data files used by this vCDB, in bytes.
    Example: 339292672

  - `engine_id` (string)
    A reference to the Engine that this vCDB belongs to.
    Example: engine-12

  - `status` (string)
    The runtime status of the vCDB.
    Example: RUNNING

  - `parent_id` (string)
    A reference to the parent CDB of this vCDB.
    Example: 1-CDB-1

  - `creation_date` (string)
    The date this vCDB was created.
    Example: 2022-10-15T08:51:34.148Z

  - `group_name` (string)
    The name of the group containing this vCDB.
    Example: Untitled

  - `enabled` (boolean)
    Whether the vCDB is enabled or not.
    Example: true

  - `content_type` (string)
    The content type of the vcdb.

  - `vcdb_restart` (boolean)
    Indicates whether the Engine should automatically restart this vcdb when target host reboot is detected.
    Example: true

  - `tags` (array)

  - `tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `tags.value` (string, required)
    Value of the tag
    Example: value-1

  - `invoke_datapatch` (boolean)
    Indicates whether datapatch should be invoked.

  - `node_listeners` (array)
    The list of node listeners for this VCDB.

  - `instance_name` (string)
    The instance name of this single instance VCDB.
    Example: VCDSID

  - `instance_number` (integer)
    The instance number of this single instance VCDB.

  - `instances` (array)

  - `instances.instance_name` (string)
    The name of this instance.

  - `instances.instance_number` (integer)
    The number of this instance.

  - `instances.node_reference` (string)
    The reference to the cluster node which the instance is running on.

  - `oracle_services` (array)

  - `oracle_services.discovered` (boolean)
    Represents whether this jdbc connection string is auto discovered or not.

  - `oracle_services.jdbc_connection_string` (string)
    The jdbc connection string used to connect with the database.
    Example: jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=broken)(ADDRESS=(PROTOCOL=tcp)(HOST=10.110.230.197)(PORT=1521))(CONNECT_DATA=(UR=A)(SERVICE_NAME=VDBOMSRBBDC6C_UJG)))

