---
title: Modify an application
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Containers](https://developers.cloudflare.com/api/go/resources/containers)

[Applications](https://developers.cloudflare.com/api/go/resources/containers/subresources/applications)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Modify an application

client.Containers.Applications.Edit(ctx, applicationID, params) (\*[ApplicationEditResponse](<https://developers.cloudflare.com/api/go/resources/containers#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)>), error)

PATCH/accounts/{account\_id}/containers/applications/{application\_id}

Modifies a single application by id. Durable Object-managed application settings are published to runtime metadata without creating deployments or rollouts. Top-level `observability` for these applications supports only `logs.enabled`. The supported fields depend on the existing application’s scheduling policy. For scheduler-backed applications, changes that replace instance deployment configuration, including the image, require a rollout.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`Workers Containers Write`

##### ParametersExpand Collapse

applicationID string

An Application ID represents an identifier of an application.

[Link to this property](<#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20application_id%20%3E%20(schema)>)

<details>

<summary>

params ApplicationEditParams

</summary>

AccountID param.Field\[string]

Path param: Account identifier.

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

<details>

<summary>

Configuration param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/containers/subresources/applications/methods/edit#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration%20%3E%20(schema)">ApplicationEditParamsConfiguration</a>]Optional

Body param: Application configuration fields you can change without creating a rollout.

</summary>

<details>

<summary>

AuthorizedKeys \[]ApplicationEditParamsConfigurationAuthorizedKeyOptional

</summary>

PublicKey string

An SSH public key.

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration%20%3E%20(schema)%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20public_key">Link to this property</a>

Name stringOptional

Optional human readable name for this key.

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration%20%3E%20(schema)%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration%20%3E%20(schema)%20%3E%20(property)%20authorized_keys">Link to this property</a>

<details>

<summary>

WranglerSSH ApplicationEditParamsConfigurationWranglerSSHOptional

Configuration properties for connecting with SSH to a container using Wrangler.

</summary>

Enabled boolOptional

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration%20%3E%20(schema)%20%3E%20(property)%20wrangler_ssh%20%3E%20(property)%20enabled">Link to this property</a>

Port int64Optional

maximum65535

minimum1

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration%20%3E%20(schema)%20%3E%20(property)%20wrangler_ssh%20%3E%20(property)%20port">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration%20%3E%20(schema)%20%3E%20(property)%20wrangler_ssh">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20configuration">Link to this property</a>

<details>

<summary>

Constraints param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/containers/subresources/applications/methods/edit#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20constraints%20%3E%20(schema)">ApplicationEditParamsConstraints</a>]Optional

Body param

</summary>

Jurisdiction stringOptional

Restricts placement to datacenters in the selected jurisdiction. Choose “eu”, “fedramp”, or “us”. When combined with regions, EU supports EEUR and WEUR while FedRAMP and US support ENAM and WNAM.

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20constraints%20%3E%20(schema)%20%3E%20(property)%20jurisdiction">Link to this property</a>

Regions \[]stringOptional

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20constraints%20%3E%20(schema)%20%3E%20(property)%20regions">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20constraints">Link to this property</a>

MaxInstances param.Field\[int64]Optional

Body param: Maximum number of instances that an autoscaling application can run.

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20max_instances">Link to this property</a>

<details>

<summary>

Observability param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/containers/subresources/applications/methods/edit#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20observability%20%3E%20(schema)">ApplicationEditParamsObservability</a>]Optional

Body param: Top-level application observability settings. Scheduler-backed applications hot-reload these settings across existing instances. An existing Durable Object-managed application accepts only <code>logs.enabled</code> and publishes these settings to runtime metadata without creating deployments or rollouts.

</summary>

<details>

<summary>

Logs ApplicationEditParamsObservabilityLogsOptional

Observability logging settings.

</summary>

Enabled boolOptional

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20observability%20%3E%20(schema)%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20observability%20%3E%20(schema)%20%3E%20(property)%20logs">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20observability">Link to this property</a>

RolloutActiveGracePeriod param.Field\[int64]Optional

Body param: Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds. Defaults to 0.

maximum604800

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20rollout_active_grace_period">Link to this property</a>

</details>

[Link to this property](<#(resource)%20containers.applications%20%3E%20(method)%20edit%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type ApplicationEditResponse interface{…}

The public Containers API returns an application.

</summary>

One of the following:

<details>

<summary>

type ApplicationEditResponseCcScheduledApplication struct{…}

Describes an application and the parameters that govern how it places its instances.

</summary>

ID string

An Application ID represents an identifier of an application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20id">Link to this property</a>

AccountID string

A unique identifier for the user’s account.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20account_id">Link to this property</a>

<details>

<summary>

Configuration ApplicationEditResponseCcScheduledApplicationConfiguration

User-specified container configuration.

</summary>

Image string

Image url.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20image">Link to this property</a>

<details>

<summary>

AuthorizedKeys \[]ApplicationEditResponseCcScheduledApplicationConfigurationAuthorizedKeyOptional

</summary>

PublicKey string

An SSH public key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20public_key">Link to this property</a>

Name stringOptional

Optional human readable name for this key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys">Link to this property</a>

Command \[]stringOptional

The command that runs when the container starts, passed to the entrypoint. You can override this at run-time. If you override only the command, it gets passed to the default entrypoint specified in the image.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20command">Link to this property</a>

Entrypoint \[]stringOptional

The entry point for the container, specifying the executable to run when the container starts. You can override this at run-time. If you do, the default command from the image is ignored. Specify both entrypoint and command at run-time to completely replace the image defaults.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20entrypoint">Link to this property</a>

<details>

<summary>

EnvironmentVariables \[]ApplicationEditResponseCcScheduledApplicationConfigurationEnvironmentVariableOptional

Container environment variables.

</summary>

Name string

An environment variable name.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20environment_variables%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

Value string

An environment variable value.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20environment_variables%20%3E%20(items)%20%3E%20(property)%20value">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20environment_variables">Link to this property</a>

<details>

<summary>

InstanceType ApplicationEditResponseCcScheduledApplicationConfigurationInstanceTypeOptional

The instance type configures vCPU, memory, and disk.

- “lite”: 1/16 vCPU, 256 MiB memory, 2 GB disk
- “basic”: 1/4 vCPU, 1 GiB memory, 4 GB disk
- “standard-1”: 1/2 vCPU, 4 GiB memory, 8 GB disk
- “standard-2”: 1 vCPU, 6 GiB memory, 12 GB disk
- “standard-3”: 2 vCPU, 8 GiB memory, 16 GB disk
- “standard-4”: 4 vCPU, 12 GiB memory, 20 GB disk

</summary>

One of the following:

const ApplicationEditResponseCcScheduledApplicationConfigurationInstanceTypeLite ApplicationEditResponseCcScheduledApplicationConfigurationInstanceType = "lite"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%200">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationConfigurationInstanceTypeBasic ApplicationEditResponseCcScheduledApplicationConfigurationInstanceType = "basic"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%201">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationConfigurationInstanceTypeStandard1 ApplicationEditResponseCcScheduledApplicationConfigurationInstanceType = "standard-1"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%202">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationConfigurationInstanceTypeStandard2 ApplicationEditResponseCcScheduledApplicationConfigurationInstanceType = "standard-2"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%203">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationConfigurationInstanceTypeStandard3 ApplicationEditResponseCcScheduledApplicationConfigurationInstanceType = "standard-3"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%204">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationConfigurationInstanceTypeStandard4 ApplicationEditResponseCcScheduledApplicationConfigurationInstanceType = "standard-4"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20instance_type">Link to this property</a>

<details>

<summary>

Observability ApplicationEditResponseCcScheduledApplicationConfigurationObservabilityOptional

Settings for deployment observability such as logging.

</summary>

<details>

<summary>

Logs ApplicationEditResponseCcScheduledApplicationConfigurationObservabilityLogsOptional

Observability logging settings.

</summary>

Enabled boolOptional

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration%20%3E%20(property)%20observability">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20configuration">Link to this property</a>

CreatedAt string

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20created_at">Link to this property</a>

Instances int64

Number of deployments to create.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20instances">Link to this property</a>

Name string

The application name.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

SchedulingPolicy ApplicationEditResponseCcScheduledApplicationSchedulingPolicy

The scheduling policy to use for an application.

</summary>

One of the following:

const ApplicationEditResponseCcScheduledApplicationSchedulingPolicyDefault ApplicationEditResponseCcScheduledApplicationSchedulingPolicy = "default"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20scheduling_policy%20%3E%20(member)%200">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationSchedulingPolicyDurableObject ApplicationEditResponseCcScheduledApplicationSchedulingPolicy = "durable\_object"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20scheduling_policy%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20scheduling_policy">Link to this property</a>

UpdatedAt string

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20updated_at">Link to this property</a>

Version int64

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20version">Link to this property</a>

ActiveRolloutID stringOptional

An identifier for a specific rollout within an application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20active_rollout_id">Link to this property</a>

<details>

<summary>

Constraints ApplicationEditResponseCcScheduledApplicationConstraintsOptional

</summary>

Jurisdiction stringOptional

Restricts placement to datacenters in the selected jurisdiction. Choose “eu”, “fedramp”, or “us”. When combined with regions, EU supports EEUR and WEUR while FedRAMP and US support ENAM and WNAM.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20constraints%20%3E%20(property)%20jurisdiction">Link to this property</a>

Regions \[]stringOptional

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20constraints%20%3E%20(property)%20regions">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20constraints">Link to this property</a>

<details>

<summary>

DurableObjects ApplicationEditResponseCcScheduledApplicationDurableObjectsOptional

Durable object configuration stored on and returned from a Cloudchamber application.

</summary>

NamespaceID string

The namespace ID of the durable object namespace to use for this application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20durable_objects%20%3E%20(property)%20namespace_id">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20durable_objects">Link to this property</a>

<details>

<summary>

Health ApplicationEditResponseCcScheduledApplicationHealthOptional

</summary>

<details>

<summary>

Errors \[]ApplicationEditResponseCcScheduledApplicationHealthError

</summary>

<details>

<summary>

Event ApplicationEditResponseCcScheduledApplicationHealthErrorsEvent

An event within a Placement or a Job.

</summary>

ID string

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20id">Link to this property</a>

Details map\[string, unknown]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20details">Link to this property</a>

Message string

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20message">Link to this property</a>

<details>

<summary>

Name ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName

Name of the event that describes the kind event that happened.

- SchedulerPlaced: It’s the first event that creates a container placement. It happens when the Containers runtime was able to retrieve deployment resources and start verifying everything is correct.
- NetworkingIPAssigned: It’s sent when the Containers runtime maps the IP to the container.
- VMStarted: It’s sent when the Containers runtime starts the VM. The container might remain unhealthy at this point.
- ImagePulled: It’s sent when the Containers runtime pulls the image successfully.
- ImagePullError: It’s sent when the Containers runtime is having issues pulling the image. The message and details have more information on what happened for debugging.
- VMFailedToStart: It’s sent when the Containers runtime was unable to boot the VM.
- VMStopping: It’s sent when the scheduler is stopping the VM.
- VMStopped: It’s sent when the VM finally exits.
- VMFailed: It’s sent when the scheduling of the VM failed in the current location.
- RuntimeStartFailed: It’s sent when the runtime hits an internal error.
- SSHStarted: It’s sent when the container gains network connectivity and opens the SSH port. Containers only send this event when SSH keys exist.
- CheckUpdate: Sent when the status of a health or readiness check changes. This may also affect the health status of the placement.
- DurableObjectConnected: Sent when a durable object instance connects and gains control of the deployment. This event is only sent for durable object deployments. It is sent after VMStarted.
- ContainerStarted: It’s sent when the container starts running.

</summary>

One of the following:

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameSchedulerPlaced ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "SchedulerPlaced"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%200">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameNetworkingIPAssigned ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "NetworkingIPAssigned"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%201">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameVmStarted ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "VMStarted"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%202">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameImagePulled ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "ImagePulled"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%203">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameImagePullError ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "ImagePullError"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%204">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameVmFailedToStart ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "VMFailedToStart"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%205">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameNetworkingIPAssignmentFailed ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "NetworkingIPAssignmentFailed"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%206">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameVmRunning ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "VMRunning"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%207">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameVmStopping ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "VMStopping"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%208">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameVmStopped ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "VMStopped"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%209">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameVmFailed ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "VMFailed"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2010">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameRuntimeStartFailed ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "RuntimeStartFailed"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2011">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameSSHStarted ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "SSHStarted"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2012">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameServiceHealthUpdates ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "ServiceHealthUpdates"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2013">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameCheckUpdate ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "CheckUpdate"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2014">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameDurableObjectConnected ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "DurableObjectConnected"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2015">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventNameContainerStarted ApplicationEditResponseCcScheduledApplicationHealthErrorsEventName = "ContainerStarted"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name%20%3E%20(member)%2016">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20name">Link to this property</a>

StatusChange map\[string, unknown]

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20statusChange">Link to this property</a>

Time string

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20time">Link to this property</a>

<details>

<summary>

Type ApplicationEditResponseCcScheduledApplicationHealthErrorsEventType

</summary>

One of the following:

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventTypeInfo ApplicationEditResponseCcScheduledApplicationHealthErrorsEventType = "Info"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventTypeError ApplicationEditResponseCcScheduledApplicationHealthErrorsEventType = "Error"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventTypeWarn ApplicationEditResponseCcScheduledApplicationHealthErrorsEventType = "Warn"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventTypeUserError ApplicationEditResponseCcScheduledApplicationHealthErrorsEventType = "UserError"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthErrorsEventTypeSystemError ApplicationEditResponseCcScheduledApplicationHealthErrorsEventType = "SystemError"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20event">Link to this property</a>

InstanceID string

An instance ID represents an identifier of an instance configuration that maintains an underlying placement.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20instance_id">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20errors">Link to this property</a>

<details>

<summary>

Instances ApplicationEditResponseCcScheduledApplicationHealthInstances

Shows a count of application instance states.

</summary>

Active int64

Number of instances whose runtime reports the container as running (container\_status = “running”). This is a subset of the placements that remain up: an instance that is already bound to a Durable Object and serving traffic is counted under “assigned” until its container\_status catches up to “running”, so container\_status can briefly lag Durable Object attachment under churn. To estimate running, Durable-Object-bound instances, sum “active” + “assigned” rather than reading “active” alone.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20active">Link to this property</a>

Assigned int64

Number of instances bound to a Durable Object with a running placement whose container\_status remains behind “running”. These count as live, serving instances; “active” + “assigned” approximates the running, Durable-Object-bound count.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20assigned">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20instances">Link to this property</a>

<details>

<summary>

Summary ApplicationEditResponseCcScheduledApplicationHealthSummaryOptional

High-level health assessment. Only populated for “new\_instances” strategy. Based on a sample of target-version instances rather than a full count.

- “pending”: Zero target-version instances exist yet.
- “healthy”: Every sampled target-version instance reports running or active.
- “degraded”: Some sampled instances remain starting or scheduling.
- “unhealthy”: One or more sampled instances have failed.

</summary>

One of the following:

const ApplicationEditResponseCcScheduledApplicationHealthSummaryHealthy ApplicationEditResponseCcScheduledApplicationHealthSummary = "healthy"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%200">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthSummaryDegraded ApplicationEditResponseCcScheduledApplicationHealthSummary = "degraded"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%201">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthSummaryUnhealthy ApplicationEditResponseCcScheduledApplicationHealthSummary = "unhealthy"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%202">Link to this property</a>

const ApplicationEditResponseCcScheduledApplicationHealthSummaryPending ApplicationEditResponseCcScheduledApplicationHealthSummary = "pending"

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health%20%3E%20(property)%20summary">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20health">Link to this property</a>

MaxInstances int64Optional

Maximum number of instances the application allows. This is relevant for applications that auto-scale.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20max_instances">Link to this property</a>

<details>

<summary>

Observability ApplicationEditResponseCcScheduledApplicationObservabilityOptional

Top-level observability settings for the application. This field is mutually exclusive with configuration.observability.

</summary>

<details>

<summary>

Logs ApplicationEditResponseCcScheduledApplicationObservabilityLogsOptional

Observability logging settings.

</summary>

Enabled boolOptional

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20observability">Link to this property</a>

RolloutActiveGracePeriod int64Optional

Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds. Defaults to 0.

maximum604800

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rollout_active_grace_period">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type ApplicationEditResponseCcDurableObjectApplication struct{…}

Each Durable Object creates and manages the lifecycle of its container instance.

</summary>

ID string

An Application ID represents an identifier of an application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20id">Link to this property</a>

AccountID string

A unique identifier for the user’s account.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20account_id">Link to this property</a>

CreatedAt string

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

DurableObjects ApplicationEditResponseCcDurableObjectApplicationDurableObjects

Durable object configuration using a namespace ID.

</summary>

NamespaceID string

The namespace ID of the durable object namespace to use for this application.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20durable_objects%20%3E%20(property)%20namespace_id">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20durable_objects">Link to this property</a>

Name string

The application name.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20name">Link to this property</a>

SchedulingPolicy ApplicationEditResponseCcDurableObjectApplicationSchedulingPolicy

Selects a Durable Object-managed application. Each Durable Object creates and manages the lifecycle of its container instance. Configure application-wide observability settings here. Deployment configuration, scaling, placement constraints, versions, and rollouts do not apply.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20scheduling_policy">Link to this property</a>

UpdatedAt string

UTC timestamp string in ISO 8601 format.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20updated_at">Link to this property</a>

<details>

<summary>

Configuration ApplicationEditResponseCcDurableObjectApplicationConfigurationOptional

Application-wide settings for a Durable Object-managed application.

</summary>

<details>

<summary>

AuthorizedKeys \[]ApplicationEditResponseCcDurableObjectApplicationConfigurationAuthorizedKeyOptional

</summary>

PublicKey string

An SSH public key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20public_key">Link to this property</a>

Name stringOptional

Optional human readable name for this key.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20authorized_keys">Link to this property</a>

<details>

<summary>

WranglerSSH ApplicationEditResponseCcDurableObjectApplicationConfigurationWranglerSSHOptional

Configuration properties for connecting with SSH to a container using Wrangler.

</summary>

Enabled boolOptional

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20wrangler_ssh%20%3E%20(property)%20enabled">Link to this property</a>

Port int64Optional

maximum65535

minimum1

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20wrangler_ssh%20%3E%20(property)%20port">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration%20%3E%20(property)%20wrangler_ssh">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20configuration">Link to this property</a>

<details>

<summary>

Health ApplicationEditResponseCcDurableObjectApplicationHealthOptional

Aggregate current activity for the latest observed placement of each instance. Runtime snapshots feed periodic background sweeps. Counts refresh after each complete sweep. Instance listings retain their separate three-month history for failure discovery.

</summary>

<details>

<summary>

Instances ApplicationEditResponseCcDurableObjectApplicationHealthInstances

Counts of observed non-terminal instances.

</summary>

Active int64

Number of instances whose runtime reports running or stopping.

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20active">Link to this property</a>

Starting int64

Number of instances whose runtime reports starting.

minimum0

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20instances%20%3E%20(property)%20starting">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20instances">Link to this property</a>

Summary ApplicationEditResponseCcDurableObjectApplicationHealthSummaryOptional

Present as pending until the first activity sweep completes; omitted afterward.

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health%20%3E%20(property)%20summary">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20health">Link to this property</a>

<details>

<summary>

Observability ApplicationEditResponseCcDurableObjectApplicationObservabilityOptional

Application-wide logging settings for a Durable Object-managed application. The application publishes these settings to its runtime metadata. Updating them does not create a deployment or rollout.

</summary>

<details>

<summary>

Logs ApplicationEditResponseCcDurableObjectApplicationObservabilityLogsOptional

Application-wide logging settings.

</summary>

Enabled boolOptional

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20observability">Link to this property</a>

</details>

<a href="#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20containers.applications%20%3E%20(model)%20ApplicationEditResponse%20%3E%20(schema)>)

### Modify an application

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/containers"
  "github.com/cloudflare/cloudflare-go/option"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  response, err := client.Containers.Applications.Edit(
    context.TODO(),
    "application_id",
    containers.ApplicationEditParams{
      AccountID: cloudflare.F("account-123"),
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response)
}
```

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "id": "id",
    "account_id": "account_id",
    "configuration": {
      "image": "image",
      "authorized_keys": [
        {
          "public_key": "public_key",
          "name": "name"
        }
      ],
      "command": [
        "myapp",
        "--default-option"
      ],
      "entrypoint": [
        "/bin/bash"
      ],
      "environment_variables": [
        {
          "name": "name",
          "value": "value"
        }
      ],
      "instance_type": "lite",
      "observability": {
        "logs": {
          "enabled": true
        }
      }
    },
    "created_at": "2021-04-01T12:32:41.488Z",
    "instances": 0,
    "name": "name",
    "scheduling_policy": "default",
    "updated_at": "2021-04-01T12:32:41.488Z",
    "version": 0,
    "active_rollout_id": "active_rollout_id",
    "constraints": {
      "jurisdiction": "jurisdiction",
      "regions": [
        "WNAM"
      ]
    },
    "durable_objects": {
      "namespace_id": "14758f1afd44c09b7992073ccf00b43d"
    },
    "health": {
      "errors": [
        {
          "event": {
            "id": "id",
            "details": {
              "foo": "bar"
            },
            "message": "message",
            "name": "SchedulerPlaced",
            "statusChange": {
              "foo": "bar"
            },
            "time": "2021-04-01T12:32:41.488Z",
            "type": "Info"
          },
          "instance_id": "instance_id"
        }
      ],
      "instances": {
        "active": 0,
        "assigned": 0
      },
      "summary": "healthy"
    },
    "max_instances": 0,
    "observability": {
      "logs": {
        "enabled": true
      }
    },
    "rollout_active_grace_period": 0
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "id": "id",
    "account_id": "account_id",
    "configuration": {
      "image": "image",
      "authorized_keys": [
        {
          "public_key": "public_key",
          "name": "name"
        }
      ],
      "command": [
        "myapp",
        "--default-option"
      ],
      "entrypoint": [
        "/bin/bash"
      ],
      "environment_variables": [
        {
          "name": "name",
          "value": "value"
        }
      ],
      "instance_type": "lite",
      "observability": {
        "logs": {
          "enabled": true
        }
      }
    },
    "created_at": "2021-04-01T12:32:41.488Z",
    "instances": 0,
    "name": "name",
    "scheduling_policy": "default",
    "updated_at": "2021-04-01T12:32:41.488Z",
    "version": 0,
    "active_rollout_id": "active_rollout_id",
    "constraints": {
      "jurisdiction": "jurisdiction",
      "regions": [
        "WNAM"
      ]
    },
    "durable_objects": {
      "namespace_id": "14758f1afd44c09b7992073ccf00b43d"
    },
    "health": {
      "errors": [
        {
          "event": {
            "id": "id",
            "details": {
              "foo": "bar"
            },
            "message": "message",
            "name": "SchedulerPlaced",
            "statusChange": {
              "foo": "bar"
            },
            "time": "2021-04-01T12:32:41.488Z",
            "type": "Info"
          },
          "instance_id": "instance_id"
        }
      ],
      "instances": {
        "active": 0,
        "assigned": 0
      },
      "summary": "healthy"
    },
    "max_instances": 0,
    "observability": {
      "logs": {
        "enabled": true
      }
    },
    "rollout_active_grace_period": 0
  },
  "success": true
}
```