# CreateOnlySettings

> **Class** in `langgraph_cli`

📖 [View in docs](https://reference.langchain.com/python/langgraph-cli/deploy/CreateOnlySettings)

Options for an external-image deployment that only apply when
creating one, never when updating an existing deployment.

## Signature

```python
CreateOnlySettings(
    self,
    placement: RequestedPlacement,
    image_pull_secrets: tuple[str, ...] = (),
)
```

## Constructors

```python
__init__(
    self,
    placement: RequestedPlacement,
    image_pull_secrets: tuple[str, ...] = (),
) -> None
```

| Name | Type |
|------|------|
| `placement` | `RequestedPlacement` |
| `image_pull_secrets` | `tuple[str, ...]` |


## Properties

- `placement`
- `image_pull_secrets`
- `requested`

## Methods

- [`ensure_creatable()`](https://reference.langchain.com/python/langgraph-cli/deploy/CreateOnlySettings/ensure_creatable)
- [`ensure_not_existing()`](https://reference.langchain.com/python/langgraph-cli/deploy/CreateOnlySettings/ensure_not_existing)

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/5847733bcb186c26b32da5cc822eaf8a89deffeb/libs/cli/langgraph_cli/deploy.py#L1701)