# The EndpointInfo object

## Attributes

- `id` (string)
  unique identifier for warehouse
- `name` (string)
  Logical name for the cluster.
  
   Supported values:
     - Must be unique within an org.
     - Must be less than 100 characters.
- `cluster_size` (string)
  Size of the clusters allocated for this warehouse.
   Increasing the size of a spark cluster allows you to run larger queries on
   it. If you want to increase the number of concurrent queries, please tune
   max_num_clusters.
  
   Supported values:
   - 2X-Small
   - X-Small
   - Small
   - Medium
   - Large
   - X-Large
   - 2X-Large
   - 3X-Large
   - 4X-Large
   - 5X-Large
- `min_num_clusters` (int32)
  Minimum number of available clusters that will be maintained for this SQL
   warehouse. Increasing this will ensure that a larger number of clusters are
   always running and therefore may reduce the cold start time for new
   queries. This is similar to reserved vs. revocable cores in a resource
   manager.
  
   Supported values:
     - Must be > 0
     - Must be <= min(max_num_clusters, 30)
  
   Defaults to 1
  Default: `1`
- `max_num_clusters` (int32)
  Maximum number of clusters that the autoscaler will create to handle
   concurrent queries.
  
   Supported values:
     - Must be >= min_num_clusters
     - Must be <= 40.
  
   Defaults to min_clusters if unset.
- `auto_stop_mins` (int32)
  The amount of time in minutes that a SQL warehouse must be idle (i.e., no
   RUNNING queries) before it is automatically stopped.
  
   Supported values:
     - Must be == 0 or >= 10 mins
     - 0 indicates no autostop.
  
   Defaults to 120 mins
  Default: `120`
- `creator_name` (string)
  warehouse creator name
- `instance_profile_arn` (string)
  Deprecated. Instance profile used to pass IAM role to the cluster
- `tags` (object)
  A set of key-value pairs that will be tagged on all resources (e.g., AWS instances and EBS volumes) associated
   with this SQL warehouse.
  
   Supported values:
    - Number of tags < 45.
  - `custom_tags` (array of object)
    - `key` (string)
    - `value` (string)
- `spot_instance_policy` (string)
  Configurations whether the endpoint should use spot instances.
  Possible values: `POLICY_UNSPECIFIED`, `COST_OPTIMIZED`, `RELIABILITY_OPTIMIZED`
  Default: `COST_OPTIMIZED`
- `enable_photon` (boolean)
  Configures whether the warehouse should use Photon optimized clusters.
  
   Defaults to true.
- `channel` (object)
  Channel Details
  - `name` (string)
    Possible values: `CHANNEL_NAME_UNSPECIFIED`, `CHANNEL_NAME_PREVIEW`, `CHANNEL_NAME_CURRENT`, `CHANNEL_NAME_PREVIOUS`, `CHANNEL_NAME_CUSTOM`
  - `dbsql_version` (string)
- `enable_serverless_compute` (boolean)
  Configures whether the warehouse should use serverless compute
- `warehouse_type` (string)
  Warehouse type: `PRO` or `CLASSIC`. If you want to use serverless compute,
   you must set to `PRO` and also set the field `enable_serverless_compute` to `true`.
  Possible values: `TYPE_UNSPECIFIED`, `CLASSIC`, `PRO`
- `num_clusters` (int32)
  current number of clusters running for the service
- `num_active_sessions` (int64)
  Deprecated. current number of active sessions for the warehouse
- `state` (string)
  state of the endpoint
  Possible values: `STARTING`, `RUNNING`, `STOPPING`, `STOPPED`, `DELETING`, `DELETED`
- `jdbc_url` (string)
  the jdbc connection string for this warehouse
- `odbc_params` (object)
  ODBC parameters for the SQL warehouse
  - `hostname` (string)
  - `path` (string)
  - `protocol` (string)
  - `port` (int32)
- `health` (object)
  Optional health status. Assume the warehouse is healthy if this field is not set.
  - `status` (string)
    Health status of the endpoint.
    Possible values: `STATUS_UNSPECIFIED`, `HEALTHY`, `DEGRADED`, `FAILED`
  - `message` (string)
    Deprecated. split into summary and details for security
  - `failure_reason` (object)
    The reason for failure to bring up clusters for this warehouse. This is available when status is 'FAILED' and sometimes when it is DEGRADED.
    - `code` (string)
      status code indicating why the cluster was terminated
      Possible values: `UNKNOWN`, `USER_REQUEST`, `JOB_FINISHED`, `INACTIVITY`, `CLOUD_PROVIDER_SHUTDOWN`, `COMMUNICATION_LOST`, `CLOUD_PROVIDER_LAUNCH_FAILURE`, `INIT_SCRIPT_FAILURE`, `SPARK_STARTUP_FAILURE`, `INVALID_ARGUMENT`, `UNEXPECTED_LAUNCH_FAILURE`, `INTERNAL_ERROR`, `INSTANCE_UNREACHABLE`, `REQUEST_REJECTED`, `TRIAL_EXPIRED`, `DRIVER_UNREACHABLE`, `SPARK_ERROR`, `DRIVER_UNRESPONSIVE`, `METASTORE_COMPONENT_UNHEALTHY`, `DBFS_COMPONENT_UNHEALTHY`, `EXECUTION_COMPONENT_UNHEALTHY`, `AZURE_RESOURCE_MANAGER_THROTTLING`, `AZURE_RESOURCE_PROVIDER_THROTTLING`, `NETWORK_CONFIGURATION_FAILURE`, `CONTAINER_LAUNCH_FAILURE`, `INSTANCE_POOL_CLUSTER_FAILURE`, `SKIPPED_SLOW_NODES`, `ATTACH_PROJECT_FAILURE`, `UPDATE_INSTANCE_PROFILE_FAILURE`, `DATABASE_CONNECTION_FAILURE`, `REQUEST_THROTTLED`, `SELF_BOOTSTRAP_FAILURE`, `GLOBAL_INIT_SCRIPT_FAILURE`, `SLOW_IMAGE_DOWNLOAD`, `INVALID_SPARK_IMAGE`, `NPIP_TUNNEL_TOKEN_FAILURE`, `HIVE_METASTORE_PROVISIONING_FAILURE`, `AZURE_INVALID_DEPLOYMENT_TEMPLATE`, `AZURE_UNEXPECTED_DEPLOYMENT_TEMPLATE_FAILURE`, `SUBNET_EXHAUSTED_FAILURE`, `BOOTSTRAP_TIMEOUT`, `STORAGE_DOWNLOAD_FAILURE`, `CONTROL_PLANE_REQUEST_FAILURE`, `BOOTSTRAP_TIMEOUT_CLOUD_PROVIDER_EXCEPTION`, `AWS_INSUFFICIENT_INSTANCE_CAPACITY_FAILURE`, `DOCKER_IMAGE_PULL_FAILURE`, `AZURE_VNET_CONFIGURATION_FAILURE`, `NPIP_TUNNEL_SETUP_FAILURE`, `AWS_AUTHORIZATION_FAILURE`, `NEPHOS_RESOURCE_MANAGEMENT`, `STS_CLIENT_SETUP_FAILURE`, `SECURITY_DAEMON_REGISTRATION_EXCEPTION`, `AWS_REQUEST_LIMIT_EXCEEDED`, `AWS_INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET_FAILURE`, `AWS_UNSUPPORTED_FAILURE`, `AZURE_QUOTA_EXCEEDED_EXCEPTION`, `AZURE_OPERATION_NOT_ALLOWED_EXCEPTION`, `NFS_MOUNT_FAILURE`, `K8S_AUTOSCALING_FAILURE`, `K8S_DBR_CLUSTER_LAUNCH_TIMEOUT`, `SPARK_IMAGE_DOWNLOAD_FAILURE`, `AZURE_VM_EXTENSION_FAILURE`, `WORKSPACE_CANCELLED_ERROR`, `AWS_MAX_SPOT_INSTANCE_COUNT_EXCEEDED_FAILURE`, `TEMPORARILY_UNAVAILABLE`, `WORKER_SETUP_FAILURE`, `IP_EXHAUSTION_FAILURE`, `GCP_QUOTA_EXCEEDED`, `CLOUD_PROVIDER_RESOURCE_STOCKOUT`, `GCP_SERVICE_ACCOUNT_DELETED`, `AZURE_BYOK_KEY_PERMISSION_FAILURE`, `SPOT_INSTANCE_TERMINATION`, `AZURE_EPHEMERAL_DISK_FAILURE`, `ABUSE_DETECTED`, `IMAGE_PULL_PERMISSION_DENIED`, `WORKSPACE_CONFIGURATION_ERROR`, `SECRET_RESOLUTION_ERROR`, `UNSUPPORTED_INSTANCE_TYPE`, `CLOUD_PROVIDER_DISK_SETUP_FAILURE`, `SSH_BOOTSTRAP_FAILURE`, `AWS_INACCESSIBLE_KMS_KEY_FAILURE`, `INIT_CONTAINER_NOT_FINISHED`, `SPARK_IMAGE_DOWNLOAD_THROTTLED`, `SPARK_IMAGE_NOT_FOUND`, `CLUSTER_OPERATION_THROTTLED`, `CLUSTER_OPERATION_TIMEOUT`, `SERVERLESS_LONG_RUNNING_TERMINATED`, `AZURE_PACKED_DEPLOYMENT_PARTIAL_FAILURE`, `INVALID_WORKER_IMAGE_FAILURE`, `WORKSPACE_UPDATE`, `INVALID_AWS_PARAMETER`, `DRIVER_OUT_OF_DISK`, `DRIVER_OUT_OF_MEMORY`, `DRIVER_LAUNCH_TIMEOUT`, `DRIVER_UNEXPECTED_FAILURE`, `UNEXPECTED_POD_RECREATION`, `GCP_INACCESSIBLE_KMS_KEY_FAILURE`, `GCP_KMS_KEY_PERMISSION_DENIED`, `DRIVER_EVICTION`, `USER_INITIATED_VM_TERMINATION`, `GCP_IAM_TIMEOUT`, `AWS_RESOURCE_QUOTA_EXCEEDED`, `CLOUD_ACCOUNT_SETUP_FAILURE`, `AWS_INVALID_KEY_PAIR`, `DRIVER_POD_CREATION_FAILURE`, `MAINTENANCE_MODE`, `INTERNAL_CAPACITY_FAILURE`, `EXECUTOR_POD_UNSCHEDULED`, `STORAGE_DOWNLOAD_FAILURE_SLOW`, `STORAGE_DOWNLOAD_FAILURE_THROTTLED`, `DYNAMIC_SPARK_CONF_SIZE_EXCEEDED`, `AWS_INSTANCE_PROFILE_UPDATE_FAILURE`, `INSTANCE_POOL_NOT_FOUND`, `INSTANCE_POOL_MAX_CAPACITY_REACHED`, `AWS_INVALID_KMS_KEY_STATE`, `GCP_INSUFFICIENT_CAPACITY`, `GCP_API_RATE_QUOTA_EXCEEDED`, `GCP_RESOURCE_QUOTA_EXCEEDED`, `GCP_IP_SPACE_EXHAUSTED`, `GCP_SERVICE_ACCOUNT_ACCESS_DENIED`, `GCP_SERVICE_ACCOUNT_NOT_FOUND`, `GCP_FORBIDDEN`, `GCP_NOT_FOUND`, `RESOURCE_USAGE_BLOCKED`, `DATA_ACCESS_CONFIG_CHANGED`, `ACCESS_TOKEN_FAILURE`, `INVALID_INSTANCE_PLACEMENT_PROTOCOL`, `BUDGET_POLICY_RESOLUTION_FAILURE`, `IN_PENALTY_BOX`, `DISASTER_RECOVERY_REPLICATION`, `BOOTSTRAP_TIMEOUT_DUE_TO_MISCONFIG`, `INSTANCE_UNREACHABLE_DUE_TO_MISCONFIG`, `STORAGE_DOWNLOAD_FAILURE_DUE_TO_MISCONFIG`, `CONTROL_PLANE_REQUEST_FAILURE_DUE_TO_MISCONFIG`, `CLOUD_PROVIDER_LAUNCH_FAILURE_DUE_TO_MISCONFIG`, `GCP_SUBNET_NOT_READY`, `CLOUD_OPERATION_CANCELLED`, `CLOUD_PROVIDER_INSTANCE_NOT_LAUNCHED`, `GCP_TRUSTED_IMAGE_PROJECTS_VIOLATED`, `BUDGET_POLICY_LIMIT_ENFORCEMENT_ACTIVATED`, `EOS_SPARK_IMAGE`, `NO_MATCHED_K8S`, `LAZY_ALLOCATION_TIMEOUT`, `DRIVER_NODE_UNREACHABLE`, `SECRET_CREATION_FAILURE`, `POD_SCHEDULING_FAILURE`, `POD_ASSIGNMENT_FAILURE`, `ALLOCATION_TIMEOUT`, `ALLOCATION_TIMEOUT_NO_UNALLOCATED_CLUSTERS`, `ALLOCATION_TIMEOUT_NO_MATCHED_CLUSTERS`, `ALLOCATION_TIMEOUT_NO_READY_CLUSTERS`, `ALLOCATION_TIMEOUT_NO_WARMED_UP_CLUSTERS`, `ALLOCATION_TIMEOUT_NODE_DAEMON_NOT_READY`, `ALLOCATION_TIMEOUT_NO_HEALTHY_CLUSTERS`, `NETVISOR_SETUP_TIMEOUT`, `NO_MATCHED_K8S_TESTING_TAG`, `CLOUD_PROVIDER_RESOURCE_STOCKOUT_DUE_TO_MISCONFIG`, `GKE_BASED_CLUSTER_TERMINATION`, `ALLOCATION_TIMEOUT_NO_HEALTHY_AND_WARMED_UP_CLUSTERS`, `DOCKER_INVALID_OS_EXCEPTION`, `DOCKER_CONTAINER_CREATION_EXCEPTION`, `DOCKER_IMAGE_TOO_LARGE_FOR_INSTANCE_EXCEPTION`, `DNS_RESOLUTION_ERROR`, `GCP_DENIED_BY_ORG_POLICY`, `SECRET_PERMISSION_DENIED`, `NETWORK_CHECK_NIC_FAILURE`, `NETWORK_CHECK_DNS_SERVER_FAILURE`, `NETWORK_CHECK_STORAGE_FAILURE`, `NETWORK_CHECK_METADATA_ENDPOINT_FAILURE`, `NETWORK_CHECK_CONTROL_PLANE_FAILURE`, `NETWORK_CHECK_MULTIPLE_COMPONENTS_FAILURE`, `DRIVER_UNHEALTHY`, `USAGE_POLICY_ENTITLEMENT_DENIED`, `K8S_ACTIVE_POD_QUOTA_EXCEEDED`, `CLOUD_ACCOUNT_POD_QUOTA_EXCEEDED`, `NETWORK_CHECK_NIC_FAILURE_DUE_TO_MISCONFIG`, `NETWORK_CHECK_DNS_SERVER_FAILURE_DUE_TO_MISCONFIG`, `NETWORK_CHECK_STORAGE_FAILURE_DUE_TO_MISCONFIG`, `NETWORK_CHECK_METADATA_ENDPOINT_FAILURE_DUE_TO_MISCONFIG`, `NETWORK_CHECK_CONTROL_PLANE_FAILURE_DUE_TO_MISCONFIG`, `NETWORK_CHECK_MULTIPLE_COMPONENTS_FAILURE_DUE_TO_MISCONFIG`, `DBR_IMAGE_RESOLUTION_FAILURE`, `CONTROL_PLANE_CONNECTION_FAILURE`, `CONTROL_PLANE_CONNECTION_FAILURE_DUE_TO_MISCONFIG`, `RATE_LIMITED`, `MTLS_PORT_CONNECTIVITY_FAILURE`, `HIVEMETASTORE_CONNECTIVITY_FAILURE`
    - `type` (string)
      type of the termination
      Possible values: `SUCCESS`, `CLIENT_ERROR`, `SERVICE_FAULT`, `CLOUD_FAILURE`
    - `parameters` (object)
      list of parameters that provide additional information about why the cluster was terminated
  - `summary` (string)
    A short summary of the health status in case of degraded/failed warehouses.
  - `details` (string)
    Details about errors that are causing current degraded/failed status.

## Example

```json
{
  "id": "string",
  "name": "string",
  "cluster_size": "string",
  "min_num_clusters": 0,
  "max_num_clusters": 0,
  "auto_stop_mins": 0,
  "creator_name": "string",
  "instance_profile_arn": "string",
  "tags": {
    "custom_tags": [
      {}
    ]
  },
  "spot_instance_policy": "string",
  "enable_photon": true,
  "channel": {
    "name": "string",
    "dbsql_version": "string"
  },
  "enable_serverless_compute": true,
  "warehouse_type": "string",
  "num_clusters": 0,
  "num_active_sessions": 0,
  "state": "string",
  "jdbc_url": "string",
  "odbc_params": {
    "hostname": "string",
    "path": "string",
    "protocol": "string",
    "port": 0
  },
  "health": {
    "status": "string",
    "message": "string",
    "failure_reason": {},
    "summary": "string",
    "details": "string"
  }
}
```


