From ca7030998766ecebabb232b91066bd396cd5fadb Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Thu, 26 Jul 2018 21:56:26 -0400 Subject: [PATCH] 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 --- api-ref/source/parameters.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index 5a55eb2fa994..e320d90972fd 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -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