Update deployment
Updates an existing deployment configuration, such as the endpoint address or invocation headers.
By default, service schemas are not re-discovered. Set overwrite: true to trigger re-discovery.
Path Parameters
Deployment identifier
Body
- UpdateHttpDeploymentRequest
- UpdateLambdaDeploymentRequest
Update HTTP deployment request
Additional headers
Additional headers added to the discover/invoke requests to the deployment. When provided, this will overwrite all the headers previously configured for this deployment.
Dry-run mode
If true, discovery will run but the deployment will not be registered.
This is useful to see the impact of a new deployment before registering it.
Overwrite
If true, the update will overwrite the schema information, including the exposed service and handlers and service configuration, allowing breaking changes too. Use with caution.
Uri
Uri to use to discover/invoke the http deployment.
Use http1.1
If true, discovery will be attempted using a client that defaults to HTTP1.1
instead of a prior-knowledge HTTP2 client. HTTP2 may still be used for TLS servers
that advertise HTTP2 support via ALPN. HTTP1.1 deployments will only work in
request-response mode.
Response
Deployment updated successfully. Address and invocation options are updated. Service schemas are only updated if overwrite was set to true.
- HttpDetailedDeploymentResponse
- LambdaDetailedDeploymentResponse
Detailed information about Restate deployments
HTTP Version
HTTP Version used to invoke this service deployment.
Deployment ID
Maximum Service Protocol version
During registration, the SDKs declare a range from minimum (included) to maximum (included) Service Protocol supported version.
Minimum Service Protocol version
During registration, the SDKs declare a range from minimum (included) to maximum (included) Service Protocol supported version.
Protocol Type
Protocol type used to invoke this service deployment.
RequestResponse, BidiStream Services
List of services exposed by this deployment.
Deployment URI
URI used to invoke this service deployment.
Additional headers
Additional headers used to invoke this service deployment.
Info
List of configuration/deprecation information related to this deployment.
Metadata
Deployment metadata.
SDK version
SDK library and version declared during registration.