Set instance configuration

Creates or updates an instance configuration.

Request

PUT /api/v1/platform/configuration/instances/{id}

Path parameters

id (required)
(string) ID of the instance configuration

Query parameters

create_only
(boolean) If true, will fail if an instance configuration already exists at the given id
version
(integer) If specified, checks for conflicts against the version of the repository configuration (returned in 'x-cloud-resource-version' of the GET request)

Request body

(InstanceConfiguration) (required) the Instance Configuration

Responses

200
(IdResponse) The instance configuration was updated successfully.
201
(IdResponse) The instance configuration was created successfully.
400
(BasicFailedReply) cluster_type in the InstanceConfiguration model is invalid (code: 'configuration.invalid_cluster_type') or the ZooKeeper operation failed due to bad version, etc. (code: 'configuration.instance_configuration_update_failed') or the id in the InstanceConfiguration model is reserved/prohibited (code: 'configuration.configuration_id_reserved') or the discrete_sizes in the InstanceConfiguration model is invalid (code: 'configuration.invalid_discrete_sizes') or the metadata in the InstanceConfiguration model has empty keys or values (code: 'configuration.bad_meta_data')
403
(BasicFailedReply) system_owned or deleted_on cannot be set externally (code: 'configuration.system_owned')
404
(BasicFailedReply) Instance configuration specified by {id} cannot be found or the operation failed (code: 'configuration.instance_configuration_not_found')
449
(BasicFailedReply) elevated permissions are required. (code: '"root.needs_elevated_permissions"')