

<a id="confluent-switchover-endpoint-create"></a>

# confluent switchover endpoint create

## Description

Create a switchover endpoint bound to a switchover pair.

```none
confluent switchover endpoint create <display-name> [flags]
```

## Flags

```none
    --parent-resource-crn string   REQUIRED: The CRN of the switchover pair this endpoint is bound to.
    --endpoint stringArray         REQUIRED: An endpoint in the form "name=<name>,type=<private|public>[,network=<network-crn>][,access-point=<access-point-crn>]". Network and access-point are full CRNs. Must be specified exactly twice.
    --environment string           Environment ID.
    --context string               CLI context name.
-o, --output string                Specify the output format as "human", "json", or "yaml". (default "human")
```

## 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, and -vvvv for trace).
```

## Examples

Create switchover endpoint “prod-kafka-dr-endpoint” for switchover pair “sw-123456”.

```none
confluent switchover endpoint create prod-kafka-dr-endpoint --parent-resource-crn crn://confluent.cloud/organization=org-123/environment=env-123456/switchover-pair=sw-123456 --endpoint name=west-platt,type=private --endpoint name=east-platt,type=private
```

## See Also

* [confluent switchover endpoint](index.md#confluent-switchover-endpoint) - Manage switchover endpoints.
