idcf-ilb 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9d06c43fd80e1effad16a1a97d8f96f7ed0f7edbf5970f154ae82dae4775d375
|
4
|
+
data.tar.gz: 47018095bbff47f3a448eec4f34c3e8146515ecc4f3acb2401a127475142a687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 = {})
|
@@ -4,22 +4,23 @@ module Idcf
|
|
4
4
|
# Loadbalancer validator class
|
5
5
|
class Loadbalancer < Base
|
6
6
|
self.valid_attributes = {
|
7
|
-
id:
|
8
|
-
account_id:
|
9
|
-
name:
|
10
|
-
network_id:
|
11
|
-
network_name:
|
12
|
-
network:
|
13
|
-
configs:
|
14
|
-
mackerel:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
data/lib/idcf/ilb/version.rb
CHANGED
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.
|
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-
|
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
|
-
|
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.
|