dsdk / v1.47 / ServiceUpdateData
Type Alias: ServiceUpdateData ​
ServiceUpdateData:
object
Type declaration ​
Name | Type | Description |
---|---|---|
body | ServiceSpec | - |
headers ? | object | - |
headers.X-Registry-Auth ? | string | A base64url-encoded auth configuration for pulling from private registries. Refer to the authentication section for details. |
path | object | - |
path.id | string | ID or name of service. |
query | object | - |
query.registryAuthFrom ? | "spec" | "previous-spec" | If the X-Registry-Auth header is not specified, this parameter indicates where to find registry authorization credentials. |
query.rollback ? | string | Set to this parameter to previous to cause a server-side rollback to the previous service spec. The supplied spec will be ignored in this case. |
query.version | number | The version number of the service object being updated. This is required to avoid conflicting writes. This version number should be the value as currently set on the service before the update. You can find the current version by calling GET /services/{id} |