cloudstack-go.git
7 weeks agoUpdate test parsing to ensure ID is present (#39) main v2.13.2
David Jumani [Mon, 13 Jun 2022 03:54:01 +0000 (09:24 +0530)] 
Update test parsing to ensure ID is present (#39)

2 months agoFix wrong label for listdomainchildren (#35) v2.13.1
David Jumani [Wed, 18 May 2022 07:13:18 +0000 (12:43 +0530)] 
Fix wrong label for listdomainchildren (#35)

3 months agoUpdating to 4.16.1 (#33) v2.13.0
David Jumani [Fri, 22 Apr 2022 05:55:40 +0000 (11:25 +0530)] 
Updating to 4.16.1 (#33)

3 months agoAutogenerate tests (#32)
David Jumani [Tue, 19 Apr 2022 10:58:02 +0000 (16:28 +0530)] 
Autogenerate tests (#32)

* Decouple tests from autogenerated code

* Autogenereate tests

* cleanup

3 months agoFix listVPCs unmarshall error when a VPC has network tiers attached (#26)
tetra12 [Mon, 18 Apr 2022 08:33:02 +0000 (11:33 +0300)] 
Fix listVPCs unmarshall error when a VPC has network tiers attached (#26)

* Started to impl VPC list test

* * Upd list VPCs test for both simple and network cases
* Bump go version

* Add listVPCs success and fail responses for test

* Upd VPC schema

* Updated generator to output valid network type for VPC Service

* Minor fixes

Co-authored-by: tampler <socnetfpga@gmail.com>
Co-authored-by: davidjumani <dj.davidjumani1994@gmail.com>
3 months agoAdd support for getUserKeys (#31)
David Jumani [Tue, 12 Apr 2022 10:33:23 +0000 (16:03 +0530)] 
Add support for getUserKeys (#31)

8 months agoSupport 4.x compatibility (#23) v2.12.0
davidjumani [Mon, 29 Nov 2021 10:17:17 +0000 (15:47 +0530)] 
Support 4.x compatibility (#23)

* handle type compatibilty for 4.x baseline

* fix CSLong to be more permissive and add unit test

* Rename CSLong to UUID

Co-authored-by: Xavier MARCELET <xavier.marcelet@orange.com>
8 months agogenerate: update listApis.json with 4.16.0.0 api cache
Rohit Yadav [Fri, 19 Nov 2021 08:37:20 +0000 (14:07 +0530)] 
generate: update listApis.json with 4.16.0.0 api cache

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
8 months agoFix add tests (#16)
Pearl Dsilva [Fri, 19 Nov 2021 08:34:49 +0000 (14:04 +0530)] 
Fix add tests (#16)

* refactor tests

* Decouple Test data from tests

* Update listApis and add/refactor tests

8 months agoFix GetUploadParamsFor{Volume,Template} (#19)
Xavier MARCELET [Fri, 19 Nov 2021 06:56:52 +0000 (07:56 +0100)] 
Fix GetUploadParamsFor{Volume,Template} (#19)

* fix reponse parsing for Template:getUploadParamsForTemplate and Volume:getUploadParamsForVolume

* add generate binary in gitignore

8 months agoallow to configure http client timeout (#20)
Xavier MARCELET [Thu, 18 Nov 2021 10:49:59 +0000 (11:49 +0100)] 
allow to configure http client timeout (#20)

8 months agoAdding interfaces for better operability and mock / testing (#17)
davidjumani [Sun, 7 Nov 2021 11:19:32 +0000 (16:49 +0530)] 
Adding interfaces for better operability and mock / testing (#17)

* Adding interfaces for better operability and mock / testing

* Update readme

* Add support for getters

9 months agoCleanup tests (#18)
davidjumani [Wed, 20 Oct 2021 08:45:52 +0000 (14:15 +0530)] 
Cleanup tests (#18)

9 months agoRefactor tests - decouple test data from test files (#14) v2.11.0
Pearl Dsilva [Thu, 14 Oct 2021 09:20:57 +0000 (14:50 +0530)] 
Refactor tests - decouple test data from test files (#14)

* refactor tests

* Decouple Test data from tests

10 months agoTests for resource operations and services (#11)
Pearl Dsilva [Thu, 7 Oct 2021 07:12:52 +0000 (12:42 +0530)] 
Tests for resource operations and services (#11)

* Tests for resource operations and services

* add license headers and some basic examples

10 months agoAdding WithListall option (#13)
davidjumani [Thu, 7 Oct 2021 07:02:00 +0000 (12:32 +0530)] 
Adding WithListall option (#13)

10 months agoUpdate SDK documentation (#12)
Pearl Dsilva [Tue, 5 Oct 2021 05:13:19 +0000 (10:43 +0530)] 
Update SDK documentation (#12)

10 months agoFix type of downloaddetails (#10)
davidjumani [Fri, 1 Oct 2021 10:01:22 +0000 (15:31 +0530)] 
Fix type of downloaddetails (#10)

10 months agoUse autogenerated code for hostservice (#9)
Pearl Dsilva [Thu, 30 Sep 2021 09:34:44 +0000 (15:04 +0530)] 
Use autogenerated code for hostservice (#9)

10 months agogenerate: update listApis against 4.15.2
Rohit Yadav [Mon, 20 Sep 2021 08:09:09 +0000 (13:39 +0530)] 
generate: update listApis against 4.15.2

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
11 months agoMerge pull request #7 from orange-cloudfoundry/main
Pierre-Luc Dion [Tue, 31 Aug 2021 12:30:14 +0000 (08:30 -0400)] 
Merge pull request #7 from orange-cloudfoundry/main

Fix generator for map parameters that are lists of objects

11 months agofix handling of map parameters 7/head v2.10.0
Xavier MARCELET [Mon, 30 Aug 2021 12:17:36 +0000 (14:17 +0200)] 
fix handling of map parameters

11 months agoBetter fix for #4 that also work on 4.12. (#6)
Pierre-Luc Dion [Sat, 28 Aug 2021 02:53:36 +0000 (22:53 -0400)] 
Better fix for #4 that also work on 4.12. (#6)

11 months agofix #4: only work on 4.15 (#5)
Pierre-Luc Dion [Fri, 27 Aug 2021 06:58:29 +0000 (02:58 -0400)] 
fix #4: only work on 4.15 (#5)

12 months agoUpdate README.md
Rohit Yadav [Tue, 27 Jul 2021 09:18:16 +0000 (14:48 +0530)] 
Update README.md

12 months agoUpdate README (#2)
Olivier Lemasle [Tue, 27 Jul 2021 09:17:41 +0000 (11:17 +0200)] 
Update README (#2)

- Use v2 path, now that it exists
- Update CloudStack API doc link, since it has been updated to 4.15.1.0 (and
  the old link was broken)

12 months ago.asf.yaml: trivial edit
Rohit Yadav [Tue, 27 Jul 2021 09:07:05 +0000 (14:37 +0530)] 
.asf.yaml: trivial edit

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agoperformrelease: add script to assist with cutting RC
Rohit Yadav [Tue, 27 Jul 2021 07:01:45 +0000 (12:31 +0530)] 
performrelease: add script to assist with cutting RC

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agocloudstack: remove Nuage service
Rohit Yadav [Tue, 27 Jul 2021 06:28:03 +0000 (11:58 +0530)] 
cloudstack: remove Nuage service

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agocloudstack: auto-generate sdk based on 4.15.1.0 listApis.json
Rohit Yadav [Tue, 27 Jul 2021 06:25:38 +0000 (11:55 +0530)] 
cloudstack: auto-generate sdk based on 4.15.1.0 listApis.json

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agolayout: remove Nuage service, Nuage related feature/APIs were deprecated and removed
Rohit Yadav [Tue, 27 Jul 2021 06:24:20 +0000 (11:54 +0530)] 
layout: remove Nuage service, Nuage related feature/APIs were deprecated and removed

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agolistApis: update as per 4.15.1.0 version
Rohit Yadav [Tue, 27 Jul 2021 06:23:50 +0000 (11:53 +0530)] 
listApis: update as per 4.15.1.0 version

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agoUpdate go module path with Apache home (#1)
Olivier Lemasle [Tue, 27 Jul 2021 06:14:37 +0000 (08:14 +0200)] 
Update go module path with Apache home (#1)

12 months ago.asf.yaml: enable issues, wiki, projects
Rohit Yadav [Tue, 27 Jul 2021 06:12:02 +0000 (11:42 +0530)] 
.asf.yaml: enable issues, wiki, projects

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
12 months agoREADME: update history and reference to IP clearance
Rohit Yadav [Mon, 26 Jul 2021 06:04:48 +0000 (11:34 +0530)] 
README: update history and reference to IP clearance

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
13 months agoUpdate license to Apache License, Version 2.0 apache-license-2.0
Sander van Harmelen [Mon, 21 Jun 2021 11:00:31 +0000 (13:00 +0200)] 
Update license to Apache License, Version 2.0

16 months agoMerge pull request #136 from ovear/master
Sander van Harmelen [Tue, 16 Mar 2021 17:45:32 +0000 (18:45 +0100)] 
Merge pull request #136 from ovear/master

Correct listVirtualMachinesMetrics json tag.

16 months agocorrect listVirtualMachinesMetrics json tag.
Ovear [Fri, 12 Mar 2021 14:31:23 +0000 (22:31 +0800)] 
correct listVirtualMachinesMetrics json tag.

19 months agoMerge pull request #133 from weizhouapache/bugfix-listcapabilities
Sander van Harmelen [Wed, 6 Jan 2021 10:44:19 +0000 (11:44 +0100)] 
Merge pull request #133 from weizhouapache/bugfix-listcapabilities

Fix bug while list capabilties

19 months agoTweak the solution a bit
Sander van Harmelen [Wed, 6 Jan 2021 10:42:39 +0000 (11:42 +0100)] 
Tweak the solution a bit

19 months agoFix it in generate.go
Wei Zhou [Wed, 6 Jan 2021 09:49:05 +0000 (09:49 +0000)] 
Fix it in generate.go

19 months agoUpdate my mail address in the README
Sander van Harmelen [Tue, 5 Jan 2021 13:54:06 +0000 (14:54 +0100)] 
Update my mail address in the README

19 months agoFix bug while list capabilties
Wei Zhou [Tue, 5 Jan 2021 13:03:48 +0000 (13:03 +0000)] 
Fix bug while list capabilties

Different from other list commands, listcapabilities does not return an array list.

```
(localcloud) 🐱 > list capabilities
{
  "capability": {
    "allowusercreateprojects": true,
    "allowuserexpungerecovervm": true,
    "allowuserexpungerecovervolume": true,
    "allowuserviewalldomainaccounts": false,
    "allowuserviewdestroyedvm": true,
    "cloudstackversion": "4.15.0.0",
    "customdiskofferingmaxsize": 1024,
    "customdiskofferingminsize": 1,
    "dynamicrolesenabled": true,
    "kubernetesclusterexperimentalfeaturesenabled": false,
    "kubernetesserviceenabled": true,
    "kvmsnapshotenabled": true,
    "projectinviterequired": false,
    "regionsecondaryenabled": false,
    "securitygroupsenabled": false,
    "supportELB": "false",
    "userpublictemplateenabled": true
  }
}
```

for other list apis, e.g. list templates
```
(localcloud) 🐱 > list templates templatefilter=all filter=id,name
{
  "count": 2,
  "template": [
    {
      "id": "b54e8a17-ebe5-4849-a015-2698e1d01768",
      "name": "SystemVM Template (KVM)"
    },
    {
      "id": "63985306-48ee-11eb-8680-069fc4003392",
      "name": "CentOS 5.5(64-bit) no GUI (KVM)"
    }
  ]
}
```

2 years agoMerge pull request #129 from xanzy/svh/f-metrics
Sander van Harmelen [Thu, 25 Jun 2020 16:35:57 +0000 (18:35 +0200)] 
Merge pull request #129 from xanzy/svh/f-metrics

Add missing metric methods

2 years agoAdd missing metric methods
Sander van Harmelen [Thu, 25 Jun 2020 16:31:38 +0000 (18:31 +0200)] 
Add missing metric methods

2 years agoMerge pull request #127 from nettoclaudio/fix/send-resourcetags-sorted v2.9.0
Sander van Harmelen [Tue, 31 Mar 2020 21:37:29 +0000 (23:37 +0200)] 
Merge pull request #127 from nettoclaudio/fix/send-resourcetags-sorted

Present map API type in a predictable order

2 years agomove the generic helper func to cloudstack file
Claudio Netto [Tue, 31 Mar 2020 20:30:55 +0000 (17:30 -0300)] 
move the generic helper func to cloudstack file

2 years agoSend map API types in a predictable order (sorted by key name)
Claudio Netto [Tue, 31 Mar 2020 14:39:12 +0000 (11:39 -0300)] 
Send map API types in a predictable order (sorted by key name)

2 years agoSubmit resource tags in a predictable order
Claudio Netto [Mon, 30 Mar 2020 20:07:33 +0000 (17:07 -0300)] 
Submit resource tags in a predictable order

2 years agoMake the module inline with the version v2.8.0
Sander van Harmelen [Wed, 13 Nov 2019 13:57:25 +0000 (14:57 +0100)] 
Make the module inline with the version

2 years agoMerge pull request #124 from cezarsa/withzone v2.7.2
Sander van Harmelen [Tue, 12 Nov 2019 18:04:48 +0000 (19:04 +0100)] 
Merge pull request #124 from cezarsa/withzone

Add WithZone function to filter resources from a zone

2 years agoAdd WithZone function to filter resources from a zone
Cezar Sa Espinola [Tue, 12 Nov 2019 17:02:37 +0000 (14:02 -0300)] 
Add WithZone function to filter resources from a zone

2 years agoMerge pull request #123 from xanzy/svh/b-user-data v2.7.1
Sander van Harmelen [Sat, 9 Nov 2019 09:37:53 +0000 (10:37 +0100)] 
Merge pull request #123 from xanzy/svh/b-user-data

Unwrap the GetVirtualMachineUserData response

2 years agoUnwrap the GetVirtualMachineUserData response
Sander van Harmelen [Wed, 6 Nov 2019 19:16:37 +0000 (20:16 +0100)] 
Unwrap the GetVirtualMachineUserData response

2 years agoTweak the solution just a little v2.7.0
Sander van Harmelen [Sun, 8 Sep 2019 07:22:41 +0000 (09:22 +0200)] 
Tweak the solution just a little

2 years agoMerge pull request #119 from cezarsa/detailsencoding
Sander van Harmelen [Sun, 8 Sep 2019 07:25:02 +0000 (09:25 +0200)] 
Merge pull request #119 from cezarsa/detailsencoding

Change details field encoding to match cloudstack expectations

2 years agoChange details field encoding to match cloudstack expectations
Cezar Sa Espinola [Sat, 31 Aug 2019 13:45:42 +0000 (10:45 -0300)] 
Change details field encoding to match cloudstack expectations

How the details field must be encoded changes depending on the command
implementation. Some commands allow arbitrary keys and some other
commands require only 2 keys to exist ('key' and 'value') and allow a
list of such key value pairs as the details field.

I wasn't able to find anything in the documentation that would make it
clear which encoding was required for each command and had to look at
cloudstack's code to figure this out.

Here is a list of the commands singled out in this commit and references
to the required encoding in cloudstack's code:

addGuestOs
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/guest/AddGuestOsCmd.java#L88-L89

updateGuestOs
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/guest/UpdateGuestOsCmd.java#L80-L81

addImageStore
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/AddImageStoreCmd.java#L90-L91

createSecondaryStagingStore
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/CreateSecondaryStagingStoreCmd.java#L80

updateCloudToUseObjectStore
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/admin/storage/UpdateCloudToUseObjectStoreCmd.java#L84-L85

addResourceDetail
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/api/src/main/java/org/apache/cloudstack/api/command/user/volume/AddResourceDetailCmd.java#L68-L69

updateZone
https://github.com/apache/cloudstack/blob/87c43501608a1df72a2f01ed17a522233e6617b0/server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java#L1866-L1867

3 years agoMerge pull request #116 from xanzy/svh/f-http-client v2.6.2
Sander van Harmelen [Fri, 7 Jun 2019 06:47:02 +0000 (08:47 +0200)] 
Merge pull request #116 from xanzy/svh/f-http-client

Introduce optional client configuration options

3 years agoIntroduce optional client configuration options
Sander van Harmelen [Wed, 5 Jun 2019 12:36:58 +0000 (14:36 +0200)] 
Introduce optional client configuration options

3 years agoMerge pull request #114 from xanzy/svh/b-float64 v2.6.1
Sander van Harmelen [Sun, 26 May 2019 09:54:53 +0000 (11:54 +0200)] 
Merge pull request #114 from xanzy/svh/b-float64

Fix the type check to test for float64

3 years agoFix the type check to test for float64
Sander van Harmelen [Sun, 26 May 2019 09:54:01 +0000 (11:54 +0200)] 
Fix the type check to test for float64

3 years agoMerge pull request #113 from xanzy/svh/f-cs-4.12 v2.6.0
Sander van Harmelen [Sun, 26 May 2019 08:51:17 +0000 (10:51 +0200)] 
Merge pull request #113 from xanzy/svh/f-cs-4.12

Update to support CloudStack 4.12.x.x

3 years agoUpdate to support CloudStack 4.12.x.x
Sander van Harmelen [Fri, 10 May 2019 09:44:25 +0000 (11:44 +0200)] 
Update to support CloudStack 4.12.x.x

3 years agoMerge pull request #112 from xanzy/svh/f-with-domain v2.5.0
Sander van Harmelen [Tue, 23 Apr 2019 12:38:34 +0000 (14:38 +0200)] 
Merge pull request #112 from xanzy/svh/f-with-domain

Add a `WithDomain` helper to set `domainid` fields

3 years agoAdd a `WithDomain` helper to set `domainid` fields
Sander van Harmelen [Tue, 23 Apr 2019 12:34:54 +0000 (14:34 +0200)] 
Add a `WithDomain` helper to set `domainid` fields

3 years agoMerge pull request #108 from xanzy/svh/b-http-client v2.4.1
Sander van Harmelen [Mon, 24 Dec 2018 12:12:22 +0000 (13:12 +0100)] 
Merge pull request #108 from xanzy/svh/b-http-client

Fix the transport so connections are managed correctly

3 years agoFix the transport so connections are managed correctly
Sander van Harmelen [Mon, 24 Dec 2018 12:09:13 +0000 (13:09 +0100)] 
Fix the transport so connections are managed correctly

3 years agoMerge pull request #107 from xanzy/f-4.11.2.0 v2.4.0
Sander van Harmelen [Mon, 24 Dec 2018 10:18:42 +0000 (11:18 +0100)] 
Merge pull request #107 from xanzy/f-4.11.2.0

Update to support CloudStack 4.11

3 years agoUpdate to support CloudStack 4.11
Sander van Harmelen [Sat, 22 Dec 2018 11:46:05 +0000 (12:46 +0100)] 
Update to support CloudStack 4.11

And fix a few minor issues caused by PR #106

3 years agoAvoid embedded structs by generating new struct types (#106)
Sander van Harmelen [Sun, 16 Dec 2018 12:21:07 +0000 (13:21 +0100)] 
Avoid embedded structs by generating new struct types (#106)

These changes are based on PR #104 contributed by @cezarsa! The result it the same, but the implementation is slightly different.

Thank you very much for your PR @cezarsa!

Closes #104

3 years agoFixed typo within README.md (#102)
Ryan Hamilton [Fri, 12 Oct 2018 20:53:18 +0000 (13:53 -0700)] 
Fixed typo within README.md (#102)

3 years agoUpdate secondarystoragetotal field to float64 for Cloudstack 4.11.1.0 (#101) v2.2.1 v2.3.4
Cezar Sá Espinola [Mon, 27 Aug 2018 20:52:50 +0000 (17:52 -0300)] 
Update secondarystoragetotal field to float64 for Cloudstack 4.11.1.0 (#101)

After Cloudstack 4.11.1.0 the secondarystoragetotal field was changed
from Long to Float in Cloudstack in apache/cloudstack#2439.
Changing this in the generated client seems safe and backward compatible
because long values will still be parsed correctly as a float64.

4 years agoChange synchronous boolean response to bool (#99)
Sander van Harmelen [Wed, 23 May 2018 08:50:01 +0000 (10:50 +0200)] 
Change synchronous boolean response to bool (#99)

The `success` fields in newer versions of CloudStack will use a `bool` value instead of a `string`, matching the behavious of asynchronious responses.

To make sure this change is backwards compatible the related types now have a custom `UnmarshalJSON` method that unmarshals the data (string or bool) into the new bool field.

4 years agoMake sure we treat `OutOfBandManagementResponse` correctly (#97) v2.3.3
Sander van Harmelen [Thu, 19 Apr 2018 19:16:51 +0000 (21:16 +0200)] 
Make sure we treat `OutOfBandManagementResponse` correctly (#97)

4 years agoAdd support for the login command
Sander van Harmelen [Mon, 16 Apr 2018 11:55:48 +0000 (13:55 +0200)] 
Add support for the login command

4 years agoUpdate the generated code using the correct layout v2.3.2
Sander van Harmelen [Tue, 20 Mar 2018 22:55:36 +0000 (23:55 +0100)] 
Update the generated code using the correct layout

4 years agoUpdate layout to match CS 4.9.3
Sander van Harmelen [Tue, 20 Mar 2018 22:53:47 +0000 (23:53 +0100)] 
Update layout to match CS 4.9.3

4 years agoUpdate the generated code
Sander van Harmelen [Tue, 20 Mar 2018 10:30:31 +0000 (11:30 +0100)] 
Update the generated code

4 years agoAdd option to generate code from a custom input file
Sander van Harmelen [Tue, 20 Mar 2018 10:30:21 +0000 (11:30 +0100)] 
Add option to generate code from a custom input file

4 years agoGeneration updates:
Daniel Paul Carbone [Fri, 9 Feb 2018 05:04:21 +0000 (23:04 -0600)] 
Generation updates:

- Allowing generation based on local "listApis" response
- Adding flag to prevent ",omitempty" on generated response models
- Changing "set" type from "[]string" to "[]interface{}"
- Adding "massageServices" function to facilitate manual cleanup of
  somewhat...loose listApis response from cloudstack.
- Updating "cloudstack" package based on 4.8 api response

4 years agoUpdate to support CloudStack 4.9.3 (#91) v2.3.1
Sander van Harmelen [Mon, 19 Mar 2018 19:35:42 +0000 (20:35 +0100)] 
Update to support CloudStack 4.9.3 (#91)

4 years agoUpdate encoding of 'details' maps (#86) v2.3.0
Sander van Harmelen [Sat, 13 Jan 2018 11:26:33 +0000 (12:26 +0100)] 
Update encoding of 'details' maps (#86)

Update encoding of 'details' maps

4 years agoAllow setting default options (#85)
Sander van Harmelen [Sat, 13 Jan 2018 11:25:49 +0000 (12:25 +0100)] 
Allow setting default options (#85)

Using it looks like this:

```
// Create a new API client
cs := cloudstack.NewAsyncClient("https://cloudstack.company.com", "your-api-key", "your-api-secret", false)

// Set an option
cs.DefaultOptions(WithProject(“project”))

// Or set multiple options
cs.DefautlOptions(WithProject(“project”), WithVPCID(“xxxx”))
```

4 years agoTweak the CustomService (#83) v2.2.0
Sander van Harmelen [Thu, 5 Oct 2017 09:31:45 +0000 (11:31 +0200)] 
Tweak the CustomService (#83)

4 years agoadds support for custom services (#82)
André Carvalho [Thu, 5 Oct 2017 09:09:34 +0000 (06:09 -0300)] 
adds support for custom services (#82)

4 years agoFixed responses for create user and register user keys (#81)
pdube [Mon, 2 Oct 2017 18:44:02 +0000 (14:44 -0400)] 
Fixed responses for create user and register user keys (#81)

4 years agoCorrectly unmarshal the `CreateAccountResponse` (#80)
Sander van Harmelen [Sun, 24 Sep 2017 14:35:58 +0000 (16:35 +0200)] 
Correctly unmarshal the `CreateAccountResponse` (#80)

Fixes #78

4 years agoAdd an example of how to use the package (#74)
Sander van Harmelen [Fri, 25 Aug 2017 08:34:59 +0000 (10:34 +0200)] 
Add an example of how to use the package (#74)

5 years agoMake sure the FirewallService works with old CS version (#72) v2.1.7
Sander van Harmelen [Thu, 11 May 2017 07:54:48 +0000 (09:54 +0200)] 
Make sure the FirewallService works with old CS version (#72)

5 years agoFix the authorizeSecurityGroup[In|E]gress responses (#69) v2.1.6
Sander van Harmelen [Wed, 26 Oct 2016 18:16:49 +0000 (20:16 +0200)] 
Fix the authorizeSecurityGroup[In|E]gress responses (#69)

5 years agoFix/improve #66 (#68) v2.1.5
Sander van Harmelen [Mon, 24 Oct 2016 10:36:39 +0000 (12:36 +0200)] 
Fix/improve #66 (#68)

Fixing it this way makes it cleaner to use/set the `usersecuritygrouplist` in clients using this, and keeps it simular in use compared to working with `serviceproviderlist` and `tags`.

Fixes #67

5 years agoFix usersecuritygrouplist parameters (#66)
Sander van Harmelen [Sun, 23 Oct 2016 09:28:36 +0000 (11:28 +0200)] 
Fix usersecuritygrouplist parameters (#66)

5 years agoFix a bug in the createSecurityGroup call (#62) (#63) v2.1.4
Sander van Harmelen [Wed, 28 Sep 2016 15:38:44 +0000 (17:38 +0200)] 
Fix a bug in the createSecurityGroup call (#62) (#63)

5 years agoFix a bug in the listAffinityGroup call (#61) v2.1.3
Sander van Harmelen [Wed, 31 Aug 2016 14:38:59 +0000 (16:38 +0200)] 
Fix a bug in the listAffinityGroup call (#61)

It reports the number of VirtualMachines in the groups as being the number of groups found.

5 years agoFix a bug that created bad parameter names (#60) v2.1.2
Sander van Harmelen [Mon, 29 Aug 2016 09:53:18 +0000 (11:53 +0200)] 
Fix a bug that created bad parameter names (#60)

When the parameter is called `type` we have to convert this to prevent using the reserved keyword `type` as a variable name. But we were doing it in a few other locations as well. That’s fixed now.

6 years agoAdd a copy of the license file to the cloudstack package
Sander van Harmelen [Thu, 28 Jul 2016 18:03:36 +0000 (20:03 +0200)] 
Add a copy of the license file to the cloudstack package

6 years agoFix the ListLoadBalancerRuleInstances response (#59) v2.1.1
Sander van Harmelen [Wed, 27 Jul 2016 11:02:17 +0000 (13:02 +0200)] 
Fix the ListLoadBalancerRuleInstances response (#59)

This one can have two possible response types, depending on the query values used. By adding this, both types are supported.

6 years agoImprover helper function to retrieve ID (#58) v2.1.0
Sander van Harmelen [Tue, 26 Jul 2016 17:27:01 +0000 (19:27 +0200)] 
Improver helper function to retrieve ID (#58)

6 years agoMerge pull request #56 from svanharmelen/f-list-with-vpcid-option
Sander van Harmelen [Wed, 18 May 2016 12:33:22 +0000 (14:33 +0200)] 
Merge pull request #56 from svanharmelen/f-list-with-vpcid-option

Add an option to search with VPC ID

6 years agoAdd an option to search with VPC ID
Sander van Harmelen [Wed, 18 May 2016 12:32:33 +0000 (14:32 +0200)] 
Add an option to search with VPC ID