# List all vCDBs (Oracle only).

Endpoint: GET /vcdbs
Version: 3.27.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `limit` (integer)
    Maximum number of objects to return per query. The value must be between 1 and 1000. Default is 100.

  - `cursor` (string)
    Cursor to fetch the next or previous page of results. The value of this property must be extracted from the 'prev_cursor' or 'next_cursor' property of a PaginatedResponseMetadata which is contained in the response of list and search API endpoints.

  - `sort` (string)
    The field to sort results by. A property name with a prepended '-' signifies descending order.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array)

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

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

  - `items.description` (string)
    The container description of this virtual CDB.
    Example: This is Oracle virtual CDB.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - `items.tags` (array)

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

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

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

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

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

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

  - `items.instances` (array)

  - `items.instances.instance_name` (string, required)
    The name of this instance. Must contain at least one non-whitespace character.

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

  - `items.instances.node_reference` (string, required)
    The reference to the cluster node which the instance is running on. Must contain at least one non-whitespace character.

  - `items.instances.okv_client_id` (string)
    The id of the OKV client used for TDE keystore access. If provided, it must include at least one non-whitespace character; if omitted, the existing OKV client will be cleared.
    Example: 1-ORACLE_OKV_CLIENT-1

  - `items.oracle_services` (array)

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

  - `items.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)))

  - `items.repository_id` (string)
    The repository id of this Virtual CDB.
    Example: 1-ORACLE_INSTALL-1

  - `items.containerization_state` (string)
    Indicates the virtual database's containerization state, created for or running inside a containerized environment like Linux containers.
    Enum: "NOT_CONTAINERIZED", "READY_FOR_CONTAINER", "RUNNING_IN_CONTAINER"

  - `items.tde_key_identifier` (string)
    ID of the key created by Delphix, as recorded in v$encryption_keys.key_id.
    Example: Ae5Eo6WB208lv+XJfXMTv8sAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

  - `items.tde_keystore_config_type` (string)
    Oracle TDE keystore configuration type.
    Enum: "FILE", "OKV", "HSM", "OKV|FILE", "FILE|OKV", "HSM|FILE", "FILE|HSM", "OCI_VAULT", "UNSET"

  - `items.is_tde_keystore_password_set` (boolean)
    True if TDE keystore password is set for this container database.

  - `items.database_unique_name` (string)
    The unique name of the database.
    Example: DBOMSRBBDC6C

  - `items.db_username` (string)
    The user name of the database.
    Example: oracle

  - `items.redo_log_groups` (integer)
    Number of Online Redo Log Groups.
    Example: 3

  - `items.redo_log_size_in_mb` (integer)
    Online Redo Log size in MB.
    Example: 1024

  - `items.config_params` (object)
    Database configuration parameter overrides.
    Example: {"param":"value","param2":"value2"}

  - `items.custom_env_vars` (array)

  - `items.custom_env_vars.cluster_node` (string)
    The cluster node on which the environment variable is relevant.

  - `items.custom_env_vars.path_parameters` (string)
    A string of whitespace-separated parameters to be passed to the source command. The first parameter must be an absolute path to a file that exists on the target environment. Every subsequent parameter will be treated as an argument interpreted by the environment file.

  - `items.custom_env_vars.var_name` (string)
    The name of the environment variable.

  - `items.custom_env_vars.var_value` (string)
    The value of the environment variable.

  - `items.active_instances` (array)

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

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

  - `items.active_instances.host_name` (string)
    The reference to the cluster node which the instance is running on.

  - `items.nfs_version` (integer)
    The NFS version that was last used to mount this source."
    Example: 3

  - `items.nfs_version_reason` (string)
    The reason why the source is being mounted with nfsVersion.
    Enum: "DEFAULT", "OLD_REDHAT", "UNSUPPORTED_OS", "DNFS", "TUNABLE_OVERRIDE", "NO_RECOVER_LOST_LOCKS", "UNSUPPORTED_DATA_PLATFORM", "INCOMPLETE_V4_CONFIG", "DNFS_UNSUPPORTED_ORACLE_VERSIONS_1912_1915", "DNFS_UNSUPPORTED_ORACLE_VERSIONS_211_216", "DNFS_UNSUPPORTED_ORACLE_VERSIONS_LESS_THAN_12C"

  - `items.nfs_encryption_enabled` (boolean)
    Flag indicating whether the data transfer is encrypted or not.
    Example: true

  - `items.environment_user_ref` (string)
    The environment user reference.

  - `items.db_template_id` (string)
    The database template ID for this Virtual CDB.
    Example: DATABASE_TEMPLATE-1

  - `items.db_template_name` (string)
    Name of the Database Template.
    Example: template-name

  - `items.okv_client_id` (string)
    The id of the OKV client used for TDE keystore access.
    Example: 1-ORACLE_OKV_CLIENT-1

  - `response_metadata` (object)

  - `response_metadata.prev_cursor` (string)
    Pointer to the previous page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.next_cursor` (string)
    Pointer to the next page of results. Use this value as a cursor query parameter in a subsequent request, along with limit, to navigate through the collection by virtual page.

  - `response_metadata.total` (integer)
    The total number of results. This value may not be provided.

