# Get a PaaS Instance by ID.

Endpoint: GET /paas-instances/{paaSInstanceId}
Version: 3.28.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `paaSInstanceId` (string, required)
    The ID of the PaaS Instance.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `id` (string)
    The PaaS Instance object entity ID.
    Example: instance-123

  - `name` (string)
    The PaaS Instance name.
    Example: my-db-123

  - `plugin_id` (string)
    Id of the PaaS plugin which manages this Instance.
    Example: plugin-123

  - `is_snapshot_operation_target` (boolean)
    Whether this PaaS Instance can be the target of DCT snapshot operation.

  - `cloud_account_id` (string)
    Id of the Cloud Account to which this Instance belongs.
    Example: environment-123

  - `cloud_account_name` (string)
    Name of the Cloud Account to which this Instance belongs.
    Example: AWS-US-EAST-1

  - `database_engine` (string)
    Name of the database engine.
    Example: Azure SQL Server

  - `database_engine_version` (string)
    Version of the database engine.
    Example: 19.1.2

  - `status` (string)
    The management status of this PaaS Instance. DISCOVERED means the instance has been found by DCT but is not yet under DCT management. DCT_MANAGED means the instance is actively managed by DCT. ROOT means the instance serves as the root source for DCT-managed child instances.
    Enum: "DISCOVERED", "DCT_MANAGED", "ROOT"

  - `runtime_status` (string)
    Instance status.
    Enum: "CREATING", "FAILED", "RUNNING", "DEPROVISIONED", "STOPPED", "DELETED_ROOT_SOURCE", "REFRESHING"

  - `connection_strings` (array)
    Connection strings (such as JDBC URLs) for applications to connect to the instance.

  - `parent_instance_id` (string)
    The ID of the parent PaaS Instance, if this is a child Instance.
    Example: my-db-123

  - `parent_instance_name` (string)
    The name of the parent PaaS Instance, if this is a child Instance.
    Example: my-parent-instance

  - `root_instance_id` (string)
    The ID of the root PaaS Instance, if this is a managed Instance.
    Example: my-root-123

  - `root_instance_name` (string)
    The name of the root PaaS Instance, if this is a managed Instance.
    Example: my-root-instance

  - `parent_snapshot_id` (string)
    The ID of the parent PaaS Instance snapshot, if this is a child Instance.
    Example: my-snapshot-123

  - `is_encrypted` (boolean)
    Whether this Instance is encrypted or not.
    Example: true

  - `database_type` (string)
    The type of database.
    Enum: "ORACLE", "RDS_POSTGRES", "MSSQL"

  - `owner` (string)
    The owner or responsible party for this Instance, typically derived from metadata or tags.

  - `region` (string)
    The geographic region or location where the database is hosted.

  - `availability_zone` (string)
    The specific availability zone, fault domain, or equivalent infrastructure location where the database resides.

  - `instance_type` (string)
    The compute or service tier of the Instance (for example, "Standard_D4s_v3" or "db.m5.large").

  - `total_allocated_storage_gb` (integer)
    The total amount of storage (in gigabytes) currently allocated to the database.

  - `max_allocated_storage_gb` (integer)
    The maximum storage capacity (in gigabytes) that the database can automatically scale up to.

  - `auto_scaling_enabled` (boolean)
    Indicates whether storage auto-scaling is enabled for this database.

  - `backup_window` (string)
    The preferred time window during which automated backups are performed, expressed as a time range.

  - `created_time` (string)
    The timestamp when the database instance was created, in ISO 8601 date-time format.

  - `size_bytes` (integer)
    The size of the instance in bytes.

  - `size_measurement_time` (string)
    The timestamp when the size of the instance was retrieved, in ISO 8601 date-time format.

  - `size_measurement_source` (string)
    The source from where the size was retrieved.

  - `admin_username` (string)
    The admin username for the PaaS Instance.

  - `admin_password` (string)
    The admin password for the PaaS Instance.

  - `job_orchestrator_id` (string)
    The ID of the job orchestrator associated with this PaaS Instance.

  - `job_orchestrator_name` (string)
    The name of the job orchestrator associated with this PaaS Instance.

  - `connection_endpoints` (array)
    Structured connection endpoints discovered from the PaaS Instance.

  - `connection_endpoints.host` (string)
    The network hostname or IP address.

  - `connection_endpoints.port` (integer)
    The TCP port.

  - `connection_endpoints.database_type` (string)
    The type of database.
    Enum: "AURORA_POSTGRES", "DB2", "DB2_ISERIES", "DB2_MAINFRAME", "EXTENDED", "GENERIC", "MARIADB", "MSSQL", "MYSQL", "ORACLE", "POSTGRES", "RDS_POSTGRES", "SYBASE", "YUGABYTEDB_POSTGRES", "COCKROACHDB_POSTGRES"

  - `connection_endpoints.database_name` (string)
    The database or service name.

  - `connection_endpoints.jdbc_url` (string)
    The JDBC connection URL.

  - `compliance_profile_job_collection_id` (string)
    The ID of the profiling compliance job collection associated with this PaaS Instance.

  - `compliance_masking_job_collection_id` (string)
    The ID of the masking compliance job collection associated with this PaaS Instance.

  - `masked_by_execution_id` (string)
    The ID of the compliance job collection execution that masked the active timeflow of this PaaS Instance, if any.

  - `masked_by_collection_id` (string)
    The ID of the compliance job collection that masked the active timeflow of this PaaS Instance, if any.

  - `current_timeflow_id` (string)
    The ID of the current active PaaS Timeflow for this Instance, if the instance is live.
    Example: paas-timeflow-abc123

  - `instance_parameters` (object)
    The plugin-specific parameters for this PaaS Instance. Sensitive fields (marked x-sensitive in the plugin schema) are masked with ******.

  - `tags` (array)

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

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

  - `tags.mirror_on_cloud` (boolean)
    Whether this tag is mirrored from/to the Cloud Provider account hosting the PaaS Database or Instance. Not applicable to non PaaS objects.

