You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cyclecloud/includes/cloud-shell-try-it.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
Azure Cloud Shell is a free, interactive shell that you can use to run the steps in this article. Common Azure tools are preinstalled and configured in Cloud Shell for you to use with your account. Just select the **Copy** button to copy the code, paste it in Cloud Shell, and then press Enter to run it. There are a few ways to open Cloud Shell:
5
5
6
-
|Click the green "Try It" button in the upperright corner of a code block. ||
6
+
|Select the green **Try It** button in the upper-right corner of a code block. ||
| Open Cloud Shell in your browser. |[](https://shell.azure.com/bash)|
9
9
| Select the **Cloud Shell** button on the menu in the upper-right corner of the [Azure portal](https://portal.azure.com). ||
| cyclecloud.cluster.autoscale.stop_enabled |Is autostop enabled on this node?[true/false]|
6
-
| cyclecloud.cluster.autoscale.idle_time_after_jobs | The amount of time (in seconds) for a node to sit idle after completing jobs before it is scaled down. |
7
-
| cyclecloud.cluster.autoscale.idle_time_before_jobs | The amount of time (in seconds) for a node to sit idle before completing jobs before it is scaled down. |
5
+
| cyclecloud.cluster.autoscale.stop_enabled |Enables autostop on this node.[true/false]|
6
+
| cyclecloud.cluster.autoscale.idle_time_after_jobs | The amount of time (in seconds) for a node to sit idle after completing jobs before it autostops. |
7
+
| cyclecloud.cluster.autoscale.idle_time_before_jobs | The amount of time (in seconds) for a node to sit idle before completing jobs before it autostops. |
Copy file name to clipboardExpand all lines: articles/cyclecloud/includes/version-7/api-operations.md
+22-24Lines changed: 22 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ GET /clusters/{cluster}/nodes
12
12
|Type|Name|Description|Schema|
13
13
|---|---|---|---|
14
14
|**Path**|**cluster** <br>*required*|The cluster to query|string|
15
-
|**Query**|**operation** <br>*optional*|If given, returns only the nodes for this operation id, and includes the operation attribute on the body|string|
16
-
|**Query**|**request_id** <br>*optional*|If given, returns only the nodes for the operation identified by this request id,<br> and includes the operation attribute on the body|string|
15
+
|**Query**|**operation** <br>*optional*|If given, returns only the nodes for this operation ID, and includes the operation attribute on the body|string|
16
+
|**Query**|**request_id** <br>*optional*|If given, returns only the nodes for the operation identified by this request ID,<br> and includes the operation attribute on the body|string|
17
17
18
18
19
19
### Responses
@@ -25,8 +25,6 @@ GET /clusters/{cluster}/nodes
25
25
|**404**|Not found|No Content|
26
26
27
27
28
-
29
-
30
28
### Example HTTP request
31
29
32
30
#### Request path
@@ -57,15 +55,15 @@ POST /clusters/{cluster}/nodes/create
57
55
58
56
59
57
### Description
60
-
This operation adds new nodes from a nodearray to a cluster. It accepts multiple node definitions in a single call. It returns the URL to the operation that can be used to track the status of the operation.
58
+
This operation adds new nodes from a node array to a cluster. It accepts multiple node definitions in a single call. It returns the URL to the operation that you can use to track the status of the operation.
61
59
62
60
63
61
### Parameters
64
62
65
63
|Type|Name|Description|Schema|
66
64
|---|---|---|---|
67
65
|**Path**|**cluster** <br>*required*|The cluster to add nodes to|string|
68
-
|**Body**|**nodes** <br>*required*|Sets of nodes to be created|[NodeCreationRequest](#nodecreationrequest)|
66
+
|**Body**|**nodes** <br>*required*|Sets of nodes to create|[NodeCreationRequest](#nodecreationrequest)|
69
67
70
68
71
69
### Responses
@@ -114,14 +112,14 @@ POST /clusters/{cluster}/nodes/deallocate
114
112
115
113
116
114
### Description
117
-
This operation deallocates nodes in a cluster. The nodes can be identified in several ways, including node name, node id, or by filter.
115
+
This operation deallocates nodes in a cluster. You can identify the nodes by using several methods, including node name, node ID, or a filter.
118
116
119
117
120
118
### Parameters
121
119
122
120
|Type|Name|Description|Schema|
123
121
|---|---|---|---|
124
-
|**Path**|**cluster** <br>*required*|The cluster to deallocate nodes in|string|
122
+
|**Path**|**cluster** <br>*required*|The cluster where you want to deallocate nodes|string|
125
123
|**Body**|**action** <br>*required*|Description of which nodes to deallocate|[NodeManagementRequest](#nodemanagementrequest)|
126
124
127
125
@@ -175,14 +173,14 @@ POST /clusters/{cluster}/nodes/remove
175
173
176
174
177
175
### Description
178
-
This operation removes nodes in a cluster. The nodes can be identified in several ways, including node name, node id, or by filter. Note that by default nodes are removed when terminated (unless the node has Fixedset to true), in which case this call is no different than terminate.
176
+
This operation removes nodes in a cluster. You can identify the nodes in several ways, including node name, node ID, or by using a filter. By default, nodes are removed when terminated unless the node has the **Fixed** property set to true. In that case, this call acts the same as terminate.
179
177
180
178
181
179
### Parameters
182
180
183
181
|Type|Name|Description|Schema|
184
182
|---|---|---|---|
185
-
|**Path**|**cluster** <br>*required*|The cluster to remove nodes in|string|
183
+
|**Path**|**cluster** <br>*required*|The cluster where you want to remove nodes|string|
186
184
|**Body**|**action** <br>*required*|Description of which nodes to remove|[NodeManagementRequest](#nodemanagementrequest)|
187
185
188
186
@@ -236,15 +234,15 @@ POST /clusters/{cluster}/nodes/shutdown
236
234
237
235
238
236
### Description
239
-
This operation terminates or deallocates nodes in a cluster, depending on whether the ShutdownPolicy attribute on each node is Terminate (the default) or Deallocate, respectively.
237
+
This operation terminates or deallocates nodes in a cluster. The operation uses the `ShutdownPolicy` attribute on each node to determine the action. If the attribute is set to `Terminate` (the default), the operation terminates the node. If the attribute is set to `Deallocate`, the operation deallocates the node.
240
238
241
239
242
240
### Parameters
243
241
244
242
|Type|Name|Description|Schema|
245
243
|---|---|---|---|
246
-
|**Path**|**cluster** <br>*required*|The cluster to shutdown nodes in|string|
247
-
|**Body**|**action** <br>*required*|Description of which nodes to shutdown|[NodeManagementRequest](#nodemanagementrequest)|
244
+
|**Path**|**cluster** <br>*required*|The cluster where you want to shut down nodes|string|
245
+
|**Body**|**action** <br>*required*|Description of which nodes to shut down|[NodeManagementRequest](#nodemanagementrequest)|
248
246
249
247
250
248
### Responses
@@ -297,7 +295,7 @@ POST /clusters/{cluster}/nodes/start
297
295
298
296
299
297
### Description
300
-
This operation starts nodes in a cluster. The nodes can be identified in several ways, including node name, node id, or by filter.
298
+
This operation starts nodes in a cluster. You can identify the nodes by node name, node ID, or by using a filter.
301
299
302
300
303
301
### Parameters
@@ -358,14 +356,14 @@ POST /clusters/{cluster}/nodes/terminate
358
356
359
357
360
358
### Description
361
-
This operation terminates nodes in a cluster. The nodes can be identified in several ways, including node name, node id, or by filter.
359
+
This operation terminates nodes in a cluster. You can identify the nodes in several ways, including node name, node ID, or by using a filter.
362
360
363
361
364
362
### Parameters
365
363
366
364
|Type|Name|Description|Schema|
367
365
|---|---|---|---|
368
-
|**Path**|**cluster** <br>*required*|The cluster to terminate nodes in|string|
366
+
|**Path**|**cluster** <br>*required*|The cluster where you want to terminate nodes|string|
369
367
|**Body**|**action** <br>*required*|Description of which nodes to terminate|[NodeManagementRequest](#nodemanagementrequest)|
370
368
371
369
@@ -419,17 +417,17 @@ POST /clusters/{cluster}/scale/{nodearray}
419
417
420
418
421
419
### Description
422
-
This operation adds nodes as needed to a nodearray to hit a total count. The request is processed one time, and does not re-add nodes later to maintain the given number. This scales by either total cores or total nodes, but not both. It returns the URL to the operation that can be used to track the status of the operation.
420
+
This operation adds nodes as needed to a node array to reach a total count. The cluster processes the request one time. It doesn't re-add nodes later to maintain the number. You can scale the cluster by either total cores or total nodes, but not both. The operation returns the URL that you can use to track the status of the operation.
423
421
424
422
425
423
### Parameters
426
424
427
425
|Type|Name|Description|Schema|
428
426
|---|---|---|---|
429
427
|**Path**|**cluster** <br>*required*|The cluster to add nodes to|string|
430
-
|**Path**|**nodearray** <br>*required*|The nodearray to add nodes to|string|
431
-
|**Query**|**totalCoreCount** <br>*optional*|The total number of cores to have in this nodearray, including nodes already created|integer|
432
-
|**Query**|**totalNodeCount** <br>*optional*|The total number of machines to have in this nodearray, including nodes already created|integer|
428
+
|**Path**|**nodearray** <br>*required*|The node array to add nodes to|string|
429
+
|**Query**|**totalCoreCount** <br>*optional*|The total number of cores in this node array, including nodes you already created|integer|
430
+
|**Query**|**totalNodeCount** <br>*optional*|The total number of machines in this node array, including nodes you already created|integer|
433
431
434
432
435
433
### Responses
@@ -469,15 +467,15 @@ GET /clusters/{cluster}/status
469
467
470
468
471
469
### Description
472
-
This operation contains information for the nodes and nodearrays in a given cluster. For each nodearray, it returns the status of each "bucket" of allocation that can be used, such as how many nodes are in the bucket, how many more can be added, etc. Each bucket is a set of possible VMs of a given hardware profile, that can be created in a given location, under a given customer account, etc. The valid buckets for a nodearray are determined by the user's cluster definition, but the limits are determined in part by the cloud provider.
470
+
This operation returns information for the nodes and node arrays in a cluster. For each node array, it returns the status of each "bucket" of allocation that you can use. The status shows how many nodes are in the bucket, how many more nodes you can add, and other details. Each bucket is a set of possible VMs with a specific hardware profile. You can create these VMs in a specific location under a customer account. The user's cluster definition determines the valid buckets for a node array. The cloud provider determines the limits for these buckets.
473
471
474
472
475
473
### Parameters
476
474
477
475
|Type|Name|Description|Schema|
478
476
|---|---|---|---|
479
477
|**Path**|**cluster** <br>*required*|The cluster to query|string|
480
-
|**Query**|**nodes** <br>*optional*|If true, nodes and node references are returned in the response|boolean|
478
+
|**Query**|**nodes** <br>*optional*|If true, the response includes nodes and node references|boolean|
481
479
482
480
483
481
### Responses
@@ -523,7 +521,7 @@ GET /operations/
523
521
524
522
|Type|Name|Description|Schema|
525
523
|---|---|---|---|
526
-
|**Query**|**request_id** <br>*optional*|The request ID for the operation. If this is given, the list will only have 0 or 1 element in it.|string|
524
+
|**Query**|**request_id** <br>*optional*|The request ID for the operation. If you provide this ID, the list has zero or one element.|string|
0 commit comments