ibm-cloud-sdk 0.1.0 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/LICENSE.txt +202 -0
  4. data/README.md +1 -1
  5. data/ibm-cloud-sdk.gemspec +4 -1
  6. data/lib/ibm/cloud/sdk.rb +2 -0
  7. data/lib/ibm/cloud/sdk/power_iaas.rb +63 -1
  8. data/lib/ibm/cloud/sdk/resource_controller.rb +2 -8
  9. data/lib/ibm/cloud/sdk/version.rb +1 -1
  10. data/lib/ibm/cloud/sdk/vpc.rb +132 -0
  11. data/lib/ibm/cloud/sdk/vpc/base_collection.rb +108 -0
  12. data/lib/ibm/cloud/sdk/vpc/base_instance.rb +23 -0
  13. data/lib/ibm/cloud/sdk/vpc/base_vpc.rb +61 -0
  14. data/lib/ibm/cloud/sdk/vpc/cloud_sdk.rb +33 -0
  15. data/lib/ibm/cloud/sdk/vpc/floatingips.rb +20 -0
  16. data/lib/ibm/cloud/sdk/vpc/flowlogcollectors.rb +20 -0
  17. data/lib/ibm/cloud/sdk/vpc/helpers/connection.rb +66 -0
  18. data/lib/ibm/cloud/sdk/vpc/helpers/response.rb +92 -0
  19. data/lib/ibm/cloud/sdk/vpc/ike_policies.rb +24 -0
  20. data/lib/ibm/cloud/sdk/vpc/images.rb +21 -0
  21. data/lib/ibm/cloud/sdk/vpc/instance.rb +35 -0
  22. data/lib/ibm/cloud/sdk/vpc/instance/actions.rb +19 -0
  23. data/lib/ibm/cloud/sdk/vpc/instance/floating_ips.rb +23 -0
  24. data/lib/ibm/cloud/sdk/vpc/instance/network_interfaces.rb +53 -0
  25. data/lib/ibm/cloud/sdk/vpc/instance/volume_attachments.rb +46 -0
  26. data/lib/ibm/cloud/sdk/vpc/instance_profiles.rb +21 -0
  27. data/lib/ibm/cloud/sdk/vpc/instances.rb +20 -0
  28. data/lib/ibm/cloud/sdk/vpc/ipsec_policies.rb +24 -0
  29. data/lib/ibm/cloud/sdk/vpc/keys.rb +43 -0
  30. data/lib/ibm/cloud/sdk/vpc/load_balancer.rb +23 -0
  31. data/lib/ibm/cloud/sdk/vpc/load_balancer/listeners.rb +30 -0
  32. data/lib/ibm/cloud/sdk/vpc/load_balancer/members.rb +23 -0
  33. data/lib/ibm/cloud/sdk/vpc/load_balancer/policies.rb +30 -0
  34. data/lib/ibm/cloud/sdk/vpc/load_balancer/pools.rb +28 -0
  35. data/lib/ibm/cloud/sdk/vpc/load_balancer/rules.rb +25 -0
  36. data/lib/ibm/cloud/sdk/vpc/load_balancers.rb +19 -0
  37. data/lib/ibm/cloud/sdk/vpc/network_acls.rb +39 -0
  38. data/lib/ibm/cloud/sdk/vpc/operating_systems.rb +21 -0
  39. data/lib/ibm/cloud/sdk/vpc/public_gateways.rb +21 -0
  40. data/lib/ibm/cloud/sdk/vpc/regions.rb +35 -0
  41. data/lib/ibm/cloud/sdk/vpc/security_groups.rb +48 -0
  42. data/lib/ibm/cloud/sdk/vpc/subnets.rb +21 -0
  43. data/lib/ibm/cloud/sdk/vpc/volume_profiles.rb +21 -0
  44. data/lib/ibm/cloud/sdk/vpc/volumes.rb +21 -0
  45. data/lib/ibm/cloud/sdk/vpc/vpcs.rb +60 -0
  46. data/lib/ibm/cloud/sdk/vpc/vpn_gateway/connections.rb +35 -0
  47. data/lib/ibm/cloud/sdk/vpc/vpn_gateway/local_cidrs.rb +32 -0
  48. data/lib/ibm/cloud/sdk/vpc/vpn_gateway/peer_cidrs.rb +32 -0
  49. data/lib/ibm/cloud/sdk/vpc/vpn_gateways.rb +25 -0
  50. metadata +61 -3
@@ -0,0 +1,25 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ module IBM
5
+ module Cloud
6
+ module SDK
7
+ module VPC
8
+ # A list of VPNGateway
9
+ class VPNGateways < BaseCollection
10
+ def initialize(parent)
11
+ super(parent, 'vpn_gateways', child_class: VPNGateway)
12
+ end
13
+ end
14
+
15
+ # A single VPNGateway
16
+ class VPNGateway < BaseInstance
17
+ # Get a lisst of connections asssociated with this gateway.
18
+ def connections
19
+ VPNGATEWAY::Connections.new(self)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibm-cloud-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - IBM Cloud Developers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-05 00:00:00.000000000 Z
11
+ date: 2020-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: http
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: A Ruby gem for interacting with the various IBM Cloud services.
28
42
  email:
29
43
  executables: []
@@ -33,7 +47,9 @@ files:
33
47
  - ".gitignore"
34
48
  - ".rspec"
35
49
  - ".travis.yml"
50
+ - CHANGELOG.md
36
51
  - Gemfile
52
+ - LICENSE.txt
37
53
  - README.md
38
54
  - Rakefile
39
55
  - bin/console
@@ -48,10 +64,52 @@ files:
48
64
  - lib/ibm/cloud/sdk/resource_controller.rb
49
65
  - lib/ibm/cloud/sdk/resource_controller/resource.rb
50
66
  - lib/ibm/cloud/sdk/version.rb
67
+ - lib/ibm/cloud/sdk/vpc.rb
68
+ - lib/ibm/cloud/sdk/vpc/base_collection.rb
69
+ - lib/ibm/cloud/sdk/vpc/base_instance.rb
70
+ - lib/ibm/cloud/sdk/vpc/base_vpc.rb
71
+ - lib/ibm/cloud/sdk/vpc/cloud_sdk.rb
72
+ - lib/ibm/cloud/sdk/vpc/floatingips.rb
73
+ - lib/ibm/cloud/sdk/vpc/flowlogcollectors.rb
74
+ - lib/ibm/cloud/sdk/vpc/helpers/connection.rb
75
+ - lib/ibm/cloud/sdk/vpc/helpers/response.rb
76
+ - lib/ibm/cloud/sdk/vpc/ike_policies.rb
77
+ - lib/ibm/cloud/sdk/vpc/images.rb
78
+ - lib/ibm/cloud/sdk/vpc/instance.rb
79
+ - lib/ibm/cloud/sdk/vpc/instance/actions.rb
80
+ - lib/ibm/cloud/sdk/vpc/instance/floating_ips.rb
81
+ - lib/ibm/cloud/sdk/vpc/instance/network_interfaces.rb
82
+ - lib/ibm/cloud/sdk/vpc/instance/volume_attachments.rb
83
+ - lib/ibm/cloud/sdk/vpc/instance_profiles.rb
84
+ - lib/ibm/cloud/sdk/vpc/instances.rb
85
+ - lib/ibm/cloud/sdk/vpc/ipsec_policies.rb
86
+ - lib/ibm/cloud/sdk/vpc/keys.rb
87
+ - lib/ibm/cloud/sdk/vpc/load_balancer.rb
88
+ - lib/ibm/cloud/sdk/vpc/load_balancer/listeners.rb
89
+ - lib/ibm/cloud/sdk/vpc/load_balancer/members.rb
90
+ - lib/ibm/cloud/sdk/vpc/load_balancer/policies.rb
91
+ - lib/ibm/cloud/sdk/vpc/load_balancer/pools.rb
92
+ - lib/ibm/cloud/sdk/vpc/load_balancer/rules.rb
93
+ - lib/ibm/cloud/sdk/vpc/load_balancers.rb
94
+ - lib/ibm/cloud/sdk/vpc/network_acls.rb
95
+ - lib/ibm/cloud/sdk/vpc/operating_systems.rb
96
+ - lib/ibm/cloud/sdk/vpc/public_gateways.rb
97
+ - lib/ibm/cloud/sdk/vpc/regions.rb
98
+ - lib/ibm/cloud/sdk/vpc/security_groups.rb
99
+ - lib/ibm/cloud/sdk/vpc/subnets.rb
100
+ - lib/ibm/cloud/sdk/vpc/volume_profiles.rb
101
+ - lib/ibm/cloud/sdk/vpc/volumes.rb
102
+ - lib/ibm/cloud/sdk/vpc/vpcs.rb
103
+ - lib/ibm/cloud/sdk/vpc/vpn_gateway/connections.rb
104
+ - lib/ibm/cloud/sdk/vpc/vpn_gateway/local_cidrs.rb
105
+ - lib/ibm/cloud/sdk/vpc/vpn_gateway/peer_cidrs.rb
106
+ - lib/ibm/cloud/sdk/vpc/vpn_gateways.rb
51
107
  homepage: https://github.com/IBM-Cloud/ibm-cloud-sdk-ruby
52
- licenses: []
108
+ licenses:
109
+ - '"Apache-2.0"'
53
110
  metadata:
54
111
  homepage_uri: https://github.com/IBM-Cloud/ibm-cloud-sdk-ruby
112
+ changelog_uri: https://github.com/IBM-Cloud/ibm-cloud-sdk-ruby/blob/v0.1.5/CHANGELOG.md
55
113
  post_install_message:
56
114
  rdoc_options: []
57
115
  require_paths: