idcf-ilb 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 12529dd3c976b11261ced9c4a59e82ba8e441209
4
- data.tar.gz: 21bea9b157f9407a6eae2bc27ddcfe584d227e94
2
+ SHA256:
3
+ metadata.gz: 9d06c43fd80e1effad16a1a97d8f96f7ed0f7edbf5970f154ae82dae4775d375
4
+ data.tar.gz: 47018095bbff47f3a448eec4f34c3e8146515ecc4f3acb2401a127475142a687
5
5
  SHA512:
6
- metadata.gz: b217ebe3b2f739a711cc2e2b7a805526c9c07d48c39b84e336a03622b9aecb0ab3966cdc90f0f7bf082d1707f5b3e9f1b794d128055b2aeb2e4e26f8626bd250
7
- data.tar.gz: 292034c6d95ca018c61969d66d3298ef220b8e655c3237656412a73fdfd091f13cb6e85b9268f44b8e0625bfd152c4e4ba4f3e523323ec83f31b8944579687a8
6
+ metadata.gz: c44bd6845871ad97eb09e17c0a0fa62b3731609ee1aa325e3aa75520ec119e66ea92c655b071ec56f4e601f4574b73e69d5b49becd58c45f22ce6182c560c20b
7
+ data.tar.gz: 8b114e6da5a183cafa17f08d471ac21db5b25823a6d00ce8f0fbf882e0429daf41eaa4ab40255f304e924a27c1fceee3772e5b7e3e31bf60b9830f4b8c2567b8
@@ -8,6 +8,7 @@ module Idcf
8
8
  # @param attributes [Hash] request attributes
9
9
  # @option attributes [String] :name unique name of loadbalancer (required)
10
10
  # @option attributes [String] :network_id network_id of active network (required)
11
+ # @option attributes [Object(true)] :public_ipaddress_assignment (optional)
11
12
  # @option attributes [Array] :configs configs of loadbalancer (required)
12
13
  # @option attributes [Hash] :mackerel mackerel (optional)
13
14
  # @option attributes [String] :fwgroup_id (optional)
@@ -26,6 +27,7 @@ module Idcf
26
27
  # @option attributes [String] :certificate of loadbalancer (required)
27
28
  # @option attributes [String] :private_key of loadbalancer (required)
28
29
  # @option attributes [String] :certificate_chain of loadbalancer (optional)
30
+ # @option attributes [Object(true)] :public_ipaddress_assignment (optional)
29
31
  # @param headers [Hash] HTTP request headers
30
32
  # @return [Response] HTTP response object
31
33
  def update_loadbalancer(id, attributes, headers = {})
@@ -49,7 +49,6 @@ module Idcf
49
49
  private
50
50
 
51
51
  def attributes=(attributes)
52
- self.class.validator_class.validate_attributes!(attributes)
53
52
  attributes.each do |name, value|
54
53
  instance_variable_set(:"@#{name}", value)
55
54
  end
@@ -4,22 +4,23 @@ module Idcf
4
4
  # Loadbalancer validator class
5
5
  class Loadbalancer < Base
6
6
  self.valid_attributes = {
7
- id: { type: String },
8
- account_id: { type: String },
9
- name: { type: String, create: :required },
10
- network_id: { type: String, create: :required },
11
- network_name: { type: String },
12
- network: { type: Hash },
13
- configs: { type: Array, create: :required, update: :required },
14
- mackerel: { type: Hash, create: :optional, update: :optional },
15
- fqdn: { type: String },
16
- state: { type: String },
17
- zone_id: { type: String },
18
- zone_name: { type: String },
19
- fwgroup_id: { type: String, create: :optional, update: :optional },
20
- created_at: { type: String },
21
- updated_at: { type: String },
22
- redirects: { type: Array, create: :optional, update: :optional }
7
+ id: { type: String },
8
+ account_id: { type: String },
9
+ name: { type: String, create: :required },
10
+ network_id: { type: String, create: :required },
11
+ network_name: { type: String },
12
+ network: { type: Hash },
13
+ configs: { type: Array, create: :required, update: :required },
14
+ mackerel: { type: Hash, create: :optional, update: :optional },
15
+ public_ipaddress_assignment: { type: TrueClass, create: :optional, update: :optional },
16
+ fqdn: { type: String },
17
+ state: { type: String },
18
+ zone_id: { type: String },
19
+ zone_name: { type: String },
20
+ fwgroup_id: { type: String, create: :optional, update: :optional },
21
+ created_at: { type: String },
22
+ updated_at: { type: String },
23
+ redirects: { type: Array, create: :optional, update: :optional }
23
24
  }
24
25
  end
25
26
  end
@@ -1,5 +1,5 @@
1
1
  module Idcf
2
2
  module Ilb
3
- VERSION = "0.0.5".freeze
3
+ VERSION = "0.0.6".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idcf-ilb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - IDC Frontier Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-30 00:00:00.000000000 Z
11
+ date: 2019-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -232,8 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubyforge_project:
236
- rubygems_version: 2.4.5.1
235
+ rubygems_version: 3.0.3
237
236
  signing_key:
238
237
  specification_version: 4
239
238
  summary: A Ruby client for IDCF Cloud ILB Service.