api-ref: document user_data length restriction

user_data for server create and rebuild is limited to
65535 bytes in the schema, so we should be clear about
this limit in the API reference.

Change-Id: I61fe749ef20229744e1420779ae8128192704554
This commit is contained in:
Matt Riedemann 2018-07-26 21:56:26 -04:00
parent 2afc5fed1f
commit ca70309987

View File

@ -6452,7 +6452,8 @@ usage_links:
min_version: 2.40
user_data:
description: |
Configuration information or scripts to use upon launch. Must be Base64 encoded.
Configuration information or scripts to use upon launch.
Must be Base64 encoded. Restricted to 65535 bytes.
.. note::
@ -6464,8 +6465,8 @@ user_data:
user_data_rebuild_req:
description: |
Configuration information or scripts to use upon rebuild.
Must be Base64 encoded. If ``null`` is specified, the existing user_data
is unset.
Must be Base64 encoded. Restricted to 65535 bytes.
If ``null`` is specified, the existing user_data is unset.
in: body
required: false
type: string