# tcld connectivity-rule command reference

> Connectivity rule operations

The `tcld connectivity-rule` command connectivity rule operations.

Alias: `cr`

- [tcld connectivity-rule create](#create)
- [tcld connectivity-rule get](#get)
- [tcld connectivity-rule list](#list)
- [tcld connectivity-rule delete](#delete)

### create

The `tcld connectivity-rule create` command create a connectivity rule.

Alias: `c`

#### --connectivity-type

The type of connectivity, currently only support 'private' and 'public'

Alias: `ct`

#### --connection-id

The connection ID of the private connection

Alias: `ci`

#### --region

The region of the connection

Alias: `r`

#### --gcp-project-id

The GCP project ID of the connection, required if the cloud provider is 'gcp'

Alias: `gpi`

### get

The `tcld connectivity-rule get` command get a connectivity rule.

Alias: `g`

#### --connectivity-rule-id

The connectivity rule ID

Alias: `id`

### list

The `tcld connectivity-rule list` command list connectivity rules.

Alias: `l`

#### --namespace

The namespace hosted on temporal cloud

Alias: `n`

### delete

The `tcld connectivity-rule delete` command delete a connectivity rule.

Alias: `d`

#### --connectivity-rule-id

The connectivity rule ID

Alias: `id`
