Browse Source

Merge "Add keypair to api-ref cluster create"

Jenkins 2 years ago
parent
commit
e71dbd3492
2 changed files with 4 additions and 2 deletions
  1. 1
    0
      api-ref/source/clusters.inc
  2. 3
    2
      api-ref/source/samples/cluster-create-req.json

+ 1
- 0
api-ref/source/clusters.inc View File

@@ -38,6 +38,7 @@ Request
38 38
   - cluster_template_id: clustertemplate_id
39 39
   - node_count: node_count
40 40
   - create_timeout: create_timeout
41
+  - keypair: keypair_id
41 42
 
42 43
 .. note::
43 44
 

+ 3
- 2
api-ref/source/samples/cluster-create-req.json View File

@@ -4,5 +4,6 @@
4 4
    "master_count":2,
5 5
    "cluster_template_id":"0562d357-8641-4759-8fed-8173f02c9633",
6 6
    "node_count":2,
7
-   "create_timeout":60
8
-}
7
+   "create_timeout":60,
8
+   "keypair":"my_keypair"
9
+}

Loading…
Cancel
Save