[Yandex Cloud documentation](../../../../index.md) > [Yandex Managed Service for Trino](../../../index.md) > [CLI reference](../../index.md) > [v0](../index.md) > [cluster](index.md) > update

# yc managed-trino v0 cluster update

Update the specified Trino cluster

#### Command Usage

Syntax:

`yc managed-trino cluster update <CLUSTER-NAME>|<CLUSTER-ID> [Flags...] [Global Flags...]`

#### Flags

#|
||Flag | Description ||
|| `--id` | `string`

Trino cluster id. ||
|| `--name` | `string`

Trino cluster name. ||
|| `--async` | Display information about the operation in progress, without waiting for the operation to complete. ||
|| `--new-name` | `string`

New name for the Trino cluster ||
|| `--description` | `string`

Description of the cluster. ||
|| `--labels` | `key=value[,key=value...]`

A list of Trino cluster labels as key-value pairs. ||
|| `--deletion-protection` | Deletion Protection inhibits deletion of the cluster. ||
|| `--coordinator` | `PROPERTY=VALUE[,PROPERTY=VALUE...]`

Configuration of coordinator instance.

Possible property names:

- `resource-preset-id`: ID of the preset for computational resources available to the component (CPU, memory etc.). ||
|| `--worker` | `PROPERTY=VALUE[,PROPERTY=VALUE...]`

Configuration of worker instances.

Possible property names:

- `count`: The number of worker instances (fixed-scale policy).

- `min-count`: The minimum number of worker instances (auto-scale policy).

- `max-count`: The maximum number of worker instances (auto-scale policy).

- `resource-preset-id`: ID of the preset for computational resources available to the component (CPU, memory etc.). ||
|| `--retry-policy-enabled` | Enable retry policy. ||
|| `--retry-policy` | `string`

Retry policy level. Values: 'query', 'task' ||
|| `--retry-policy-additional-properties` | `key=value[,key=value...]`

Map entries for RetryPolicyConfig.additional_properties. ||
|| `--retry-policy-exchange-manager-service-s3` | Use service-side S3 bucket for the Exchange Manager storage. ||
|| `--retry-policy-exchange-manager-s3-bucket` | `string`

Name of the S3 bucket to use as the Exchange Manager spool destination. ||
|| `--retry-policy-exchange-manager-additional-properties` | `key=value[,key=value...]`

Map entries for ExchangeManagerConfig.additional_properties. ||
|| `--trusted-certs-from-files` | `value[,value]`

Trusted CA-certificates files. Empty list makes no effect. Each file should contain single self-signed CA-certificate or chain of CA-certificates where first certificate is the leaf and last certificate is the self-signed root. ||
|| `--remove-trusted-certs` | Whether to remove all trusted certificates from cluster TLS configuration. ||
|| `--query-properties` | `key=value[,key=value...]`

Query properties as key-value pairs for resource management configuration. ||
|| `--security-group-ids` | `value[,value]`

A list of security groups for the Trino cluster. ||
|| `--private-access` | Enable private access to the cluster. ||
|| `--service-account-id` | `string`

A service account id used to access Cloud resources. ||
|| `--version` | `string`

Trino version. ||
|| `--log-enabled` | Whether logs generated by the Trino components are delivered to Cloud Logging. ||
|| `--log-folder-id` | `string`

Logs will be written to default log group in specified folder. ||
|| `--log-group-id` | `string`

Logs will be written to log group resolved by ID. ||
|| `--log-min-level` | `string`

Minimum log entry level. Possible values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL ||
|| `--maintenance-window` | `PROPERTY=VALUE[,PROPERTY=VALUE...]`

Maintenance window settings.

Possible property names:

- `type`: Type of maintenance window, it can be 'anytime' or 'weekly'. A day and hour of window need to be specified with weekly window.

- `hour`: Hour of day in UTC time zone (1-24) for maintenance window if window type is weekly.

- `day`: Day of week for maintenance window if window type is weekly. One of MON, TUE, WED, THU, FRI, SAT, SUN. Values: 'mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun' ||
|#

#### Global Flags

#|
||Flag | Description ||
|| `--profile` | `string`

Set the custom configuration file. ||
|| `--debug` | Debug logging. ||
|| `--debug-grpc` | Debug gRPC logging. Very verbose, used for debugging connection problems. ||
|| `--no-user-output` | Disable printing user intended output to stderr. ||
|| `--retry` | `int`

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout. ||
|| `--cloud-id` | `string`

Set the ID of the cloud to use. ||
|| `--folder-id` | `string`

Set the ID of the folder to use. ||
|| `--folder-name` | `string`

Set the name of the folder to use (will be resolved to id). ||
|| `--endpoint` | `string`

Set the Cloud API endpoint (host:port). ||
|| `--token` | `string`

Set the OAuth token to use. ||
|| `--impersonate-service-account-id` | `string`

Set the ID of the service account to impersonate. ||
|| `--no-browser` | Disable opening browser for authentication. ||
|| `--format` | `string`

Set the output format: text (default), yaml, json, json-rest. ||
|| `--jq` | `string`

Query to select values from the response using jq syntax ||
|| `-h`, `--help` | Display help for the command. ||
|#