s9s-cloudlink-api
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -346,2 +346,18 @@ 'use strict'; | ||
/** | ||
* Sets "assignPublicIp" property for a subNet | ||
* @param subNetId | ||
* @param assignPublicIp | ||
* @returns {Promise} | ||
*/ | ||
}, { | ||
key: 'setSubNetAttribute', | ||
value: function setSubNetAttribute(subNetId, assignPublicIp) { | ||
return _CloudlinkHttp2.default.request(this.config, 'setSubNetAttribute', { | ||
subNetId: subNetId, | ||
assignPublicIp: assignPublicIp | ||
}); | ||
} | ||
/** | ||
* Creates a new security group under a vpcId | ||
@@ -348,0 +364,0 @@ * @param vpcId |
{ | ||
"coverage": "96.66%", | ||
"expectCount": 30, | ||
"actualCount": 29, | ||
"coverage": "96.77%", | ||
"expectCount": 31, | ||
"actualCount": 30, | ||
"files": { | ||
"src/CloudlinkApi.js": { | ||
"expectCount": 27, | ||
"actualCount": 26, | ||
"expectCount": 28, | ||
"actualCount": 27, | ||
"undocumentLines": [ | ||
@@ -10,0 +10,0 @@ 35 |
{ | ||
"name": "s9s-cloudlink-api", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"main": "api.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -507,2 +507,8 @@ window.esdocSearchIndex = [ | ||
[ | ||
"src/cloudlinkapi.js~cloudlinkapi#setsubnetattribute", | ||
"class/src/CloudlinkApi.js~CloudlinkApi.html#instance-method-setSubNetAttribute", | ||
"src/CloudlinkApi.js~CloudlinkApi#setSubNetAttribute", | ||
"method" | ||
], | ||
[ | ||
"src/cloudlinkapi.js~cloudlinkapi.supportedclouds", | ||
@@ -509,0 +515,0 @@ "class/src/CloudlinkApi.js~CloudlinkApi.html#static-get-supportedClouds", |
{ | ||
"name": "s9s-cloudlink-api", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"main": "api.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -9,3 +9,3 @@ # CloudLink API | ||
* [Documentation](https://cdn.rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.13/docs/index.html) | ||
* [Documentation](https://cdn.rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.14/docs/index.html) | ||
* [Installation](#installation) | ||
@@ -59,4 +59,3 @@ * [Examples](#examples) | ||
[travis-url]: https://travis-ci.org/simon-s9/s9s-cloudlink-api | ||
[document-image]: https://rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.13/docs/badge.svg | ||
[document-image]: https://rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.13/docs/badge.svg | ||
[document-image]: https://rawgit.com/simon-s9/s9s-cloudlink-api/v1.0.14/docs/badge.svg | ||
[document-url]: https://github.com/simon-s9/s9s-cloudlink-api/releases |
@@ -271,2 +271,15 @@ import CloudlinkApiError from './CloudlinkApiError'; | ||
/** | ||
* Sets "assignPublicIp" property for a subNet | ||
* @param subNetId | ||
* @param assignPublicIp | ||
* @returns {Promise} | ||
*/ | ||
setSubNetAttribute(subNetId, assignPublicIp) { | ||
return CloudlinkHttp.request(this.config, 'setSubNetAttribute', { | ||
subNetId, | ||
assignPublicIp | ||
}); | ||
} | ||
/** | ||
* Creates a new security group under a vpcId | ||
@@ -273,0 +286,0 @@ * @param vpcId |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1017043
22639
60