<!-- WARNING: This documentation is auto-generated from the confluentinc/cli repository and should not be manually edited. -->

<a id="confluent-flink-statement-resume"></a>

# confluent flink statement resume

## Description

### Cloud

Resume a Flink SQL statement.

```none
confluent flink statement resume <name> [flags]
```

### On-Premises

Resume a Flink SQL statement in Confluent Platform.

```none
confluent flink statement resume <statement-name> [flags]
```

## Flags

### Cloud

```none
--principal string      A user or service account the statement runs as.
--compute-pool string   Flink compute pool ID.
--cloud string          Specify the cloud provider as "aws", "azure", or "gcp".
--region string         Cloud region for Flink (use "confluent flink region list" to see all).
--environment string    Environment ID.
--context string        CLI context name.
```

### On-Premises

```none
--environment string                  REQUIRED: Name of the Flink environment.
--url string                          Base URL of the Confluent Manager for Apache Flink (CMF). Environment variable "CONFLUENT_CMF_URL" may be set in place of this flag.
--client-key-path string              Path to client private key for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_KEY_PATH" may be set in place of this flag.
--client-cert-path string             Path to client cert to be verified by Confluent Manager for Apache Flink. Include for mTLS authentication. Environment variable "CONFLUENT_CMF_CLIENT_CERT_PATH" may be set in place of this flag.
--certificate-authority-path string   Path to a PEM-encoded Certificate Authority to verify the Confluent Manager for Apache Flink connection. Environment variable "CONFLUENT_CMF_CERTIFICATE_AUTHORITY_PATH" may be set in place of this flag.
```

## Global Flags

```none
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
```

## Examples

### Cloud

Request to resume the currently stopped statement “my-statement” using original principal id and under the original compute pool.

```none
confluent flink statement resume my-statement
```

Request to resume the currently stopped statement “my-statement” using service account “sa-123456”.

```none
confluent flink statement resume my-statement --principal sa-123456
```

Request to resume the currently stopped statement “my-statement” using user account “u-987654”.

```none
confluent flink statement resume my-statement --principal u-987654
```

Request to resume the currently stopped statement “my-statement” and under a different compute pool “lfcp-123456”.

```none
confluent flink statement resume my-statement --compute-pool lfcp-123456
```

Request to resume the currently stopped statement “my-statement” using service account “sa-123456” and under a different compute pool “lfcp-123456”.

```none
confluent flink statement resume my-statement --principal sa-123456 --compute-pool lfcp-123456
```

### On-Premises

No examples.

## See Also

* [confluent flink statement](index.md#confluent-flink-statement) - Manage Flink SQL statements in Confluent Cloud.
