This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
69 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -197,6 +197,7 @@ <h5>Examples</h5> | |
billingType: 'hourly', | ||
machineName: 'My Machine 1', | ||
templateId: 't123abc', | ||
assignPublicIp: true, // optional - assign a new public ip address | ||
networkId: 'n123abc', // optional - only if creating on a specific network | ||
teamId: 'te456def', // optional - required if creating this machine for a team | ||
userId: 'u123abc', // optional - required if assigning to an existing user other than yourself | ||
|
@@ -217,6 +218,7 @@ <h5>Examples</h5> | |
--billingType "hourly" \ | ||
--machineName "My Machine 1" \ | ||
--templateId "t123abc" \ | ||
--assignPublicIp true \ | ||
--networkId "n123abc" \ | ||
--teamId "te456def" \ | ||
--userId "u123abc" \ | ||
|
@@ -229,7 +231,7 @@ <h5>Examples</h5> | |
|
||
<pre class="prettyprint"><code># HTTP request: | ||
https://api.paperspace.io | ||
POST /machines/createSingleMachinePublic {"region": "East Coast (NY2)", "machineType": "Air", "size": 50, "billingType": "monthly", "machineName": "My Machine 1", "templateId": "t123abc", "networkId": "n123abc", "teamId": "te456def", "userId": "u123abc", "email": "[email protected]", "password": "secret123", "firstName": "Jon", "lastName": "Snow", "notificationEmail": "[email protected]"} | ||
POST /machines/createSingleMachinePublic {"region": "East Coast (NY2)", "machineType": "Air", "size": 50, "billingType": "monthly", "machineName": "My Machine 1", "templateId": "t123abc", "assignPublicIp": true, "networkId": "n123abc", "teamId": "te456def", "userId": "u123abc", "email": "[email protected]", "password": "secret123", "firstName": "Jon", "lastName": "Snow", "notificationEmail": "[email protected]"} | ||
x-api-key: 1ba4f98e7c0... | ||
# Returns 201 on success</code></pre> | ||
|
||
|
@@ -254,7 +256,7 @@ <h5>Examples</h5> | |
"state": "provisioning", | ||
"networkId": null, | ||
"privateIpAddress": null, | ||
"publicIpAddress": null, | ||
"publicIpAddress": "169.255.255.254", | ||
"region": null, | ||
"userId": "u123abc", | ||
"teamId": "te456def" | ||
|
@@ -521,6 +523,39 @@ <h6>Properties</h6> | |
|
||
|
||
|
||
<tr> | ||
|
||
<td class="name"><code>assignPublicIp</code></td> | ||
|
||
|
||
<td class="type"> | ||
|
||
|
||
<span class="param-type">boolean</span> | ||
|
||
|
||
|
||
</td> | ||
|
||
|
||
<td class="attributes"> | ||
|
||
<optional><br> | ||
|
||
|
||
|
||
|
||
|
||
</td> | ||
|
||
|
||
|
||
|
||
<td class="description last"><p>Assign a new public ip address on machine creation</p></td> | ||
</tr> | ||
|
||
|
||
|
||
<tr> | ||
|
||
<td class="name"><code>networkId</code></td> | ||
|
@@ -3449,7 +3484,7 @@ <h5>Returns:</h5> | |
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Tue Jul 11 2017 15:51:00 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Thu Jul 13 2017 22:32:57 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
</footer> | ||
|
||
<script>prettyPrint();</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ <h1 class="page-title">machines/create.js</h1> | |
* @param {string} params.billingType - Either 'monthly' or 'hourly' billing | ||
* @param {string} params.machineName - A memorable name for this machine | ||
* @param {string} params.templateId - Template id of the template to use for creating this machine | ||
* @param {boolean} [params.assignPublicIp] - Assign a new public ip address on machine creation | ||
* @param {string} [params.networkId] - If creating on a specific network, specify its id | ||
* @param {string} [params.teamId] - If creating the machine for a team, specify the team id | ||
* @param {string} [params.userId] - If assigning to an existing user other than yourself, specify the user id | ||
|
@@ -80,6 +81,7 @@ <h1 class="page-title">machines/create.js</h1> | |
* billingType: 'hourly', | ||
* machineName: 'My Machine 1', | ||
* templateId: 't123abc', | ||
* assignPublicIp: true, // optional - assign a new public ip address | ||
* networkId: 'n123abc', // optional - only if creating on a specific network | ||
* teamId: 'te456def', // optional - required if creating this machine for a team | ||
* userId: 'u123abc', // optional - required if assigning to an existing user other than yourself | ||
|
@@ -100,6 +102,7 @@ <h1 class="page-title">machines/create.js</h1> | |
* --billingType "hourly" \ | ||
* --machineName "My Machine 1" \ | ||
* --templateId "t123abc" \ | ||
* --assignPublicIp true \ | ||
* --networkId "n123abc" \ | ||
* --teamId "te456def" \ | ||
* --userId "u123abc" \ | ||
|
@@ -112,7 +115,7 @@ <h1 class="page-title">machines/create.js</h1> | |
* @example | ||
* # HTTP request: | ||
* https://api.paperspace.io | ||
* POST /machines/createSingleMachinePublic {"region": "East Coast (NY2)", "machineType": "Air", "size": 50, "billingType": "monthly", "machineName": "My Machine 1", "templateId": "t123abc", "networkId": "n123abc", "teamId": "te456def", "userId": "u123abc", "email": "[email protected]", "password": "secret123", "firstName": "Jon", "lastName": "Snow", "notificationEmail": "[email protected]"} | ||
* POST /machines/createSingleMachinePublic {"region": "East Coast (NY2)", "machineType": "Air", "size": 50, "billingType": "monthly", "machineName": "My Machine 1", "templateId": "t123abc", "assignPublicIp": true, "networkId": "n123abc", "teamId": "te456def", "userId": "u123abc", "email": "[email protected]", "password": "secret123", "firstName": "Jon", "lastName": "Snow", "notificationEmail": "[email protected]"} | ||
* x-api-key: 1ba4f98e7c0... | ||
* # Returns 201 on success | ||
* @example | ||
|
@@ -137,7 +140,7 @@ <h1 class="page-title">machines/create.js</h1> | |
* "state": "provisioning", | ||
* "networkId": null, | ||
* "privateIpAddress": null, | ||
* "publicIpAddress": null, | ||
* "publicIpAddress": "169.255.255.254", | ||
* "region": null, | ||
* "userId": "u123abc", | ||
* "teamId": "te456def" | ||
|
@@ -180,7 +183,7 @@ <h1 class="page-title">machines/create.js</h1> | |
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Tue Jul 11 2017 15:51:00 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.4.3</a> on Thu Jul 13 2017 22:32:57 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
</footer> | ||
|
||
<script>prettyPrint();</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.