files.com 1.0.306 → 1.0.307
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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35344405a6087e27b154eeb4cc97a6f083e91c23ebee8f6cb80103701f29bf86
|
4
|
+
data.tar.gz: c9ebe175bb2d022ab1d2c8e0fc084a301a3f21de63a2e99c4142dc64676c36d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a224c0dc624a10e332411136f953778dc81aca87262ab96d60039ced7d1660fd884778e3386db5bd176a17dc7aceaf39e883cca8432b28498022928345274b49
|
7
|
+
data.tar.gz: 70ad2bceee076f8c436ee07a6a777884ac187c0708c3f35493bd72ef87d2a5d7add3158d72affb3310a4e0d42c42cd8fbafc62826e8ce6296cc2e0647e0b40ef
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.307
|
data/docs/remote_server.md
CHANGED
@@ -273,7 +273,8 @@ Files::RemoteServer.configuration_file(id,
|
|
273
273
|
status: "example",
|
274
274
|
config_version: "example",
|
275
275
|
private_key: "example",
|
276
|
-
public_key: "example"
|
276
|
+
public_key: "example",
|
277
|
+
server_host_key: "example"
|
277
278
|
)
|
278
279
|
```
|
279
280
|
|
@@ -289,6 +290,7 @@ Files::RemoteServer.configuration_file(id,
|
|
289
290
|
* `config_version` (string): agent config version
|
290
291
|
* `private_key` (string): private key
|
291
292
|
* `public_key` (string): public key
|
293
|
+
* `server_host_key` (string):
|
292
294
|
|
293
295
|
|
294
296
|
---
|
@@ -423,7 +425,8 @@ remote_server.configuration_file(
|
|
423
425
|
status: "example",
|
424
426
|
config_version: "example",
|
425
427
|
private_key: "example",
|
426
|
-
public_key: "example"
|
428
|
+
public_key: "example",
|
429
|
+
server_host_key: "example"
|
427
430
|
)
|
428
431
|
```
|
429
432
|
|
@@ -439,6 +442,7 @@ remote_server.configuration_file(
|
|
439
442
|
* `config_version` (string): agent config version
|
440
443
|
* `private_key` (string): private key
|
441
444
|
* `public_key` (string): public key
|
445
|
+
* `server_host_key` (string):
|
442
446
|
|
443
447
|
|
444
448
|
---
|
@@ -13,7 +13,8 @@
|
|
13
13
|
"public_key": "example",
|
14
14
|
"private_key": "example",
|
15
15
|
"status": "example",
|
16
|
-
"config_version": "example"
|
16
|
+
"config_version": "example",
|
17
|
+
"server_host_key": "example"
|
17
18
|
}
|
18
19
|
```
|
19
20
|
|
@@ -27,3 +28,4 @@
|
|
27
28
|
* `private_key` (string): private key
|
28
29
|
* `status` (string): either running or shutdown
|
29
30
|
* `config_version` (string): agent config version
|
31
|
+
* `server_host_key` (string):
|
@@ -561,6 +561,7 @@ module Files
|
|
561
561
|
# config_version - string - agent config version
|
562
562
|
# private_key - string - private key
|
563
563
|
# public_key - string - public key
|
564
|
+
# server_host_key - string
|
564
565
|
def configuration_file(params = {})
|
565
566
|
params ||= {}
|
566
567
|
params[:id] = @attributes[:id]
|
@@ -575,6 +576,7 @@ module Files
|
|
575
576
|
raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
|
576
577
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
577
578
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
579
|
+
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
578
580
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
579
581
|
|
580
582
|
Api.send_request("/remote_servers/#{@attributes[:id]}/configuration_file", :post, params, @options)
|
@@ -875,6 +877,7 @@ module Files
|
|
875
877
|
# config_version - string - agent config version
|
876
878
|
# private_key - string - private key
|
877
879
|
# public_key - string - public key
|
880
|
+
# server_host_key - string
|
878
881
|
def self.configuration_file(id, params = {}, options = {})
|
879
882
|
params ||= {}
|
880
883
|
params[:id] = id
|
@@ -888,6 +891,7 @@ module Files
|
|
888
891
|
raise InvalidParameterError.new("Bad parameter: config_version must be an String") if params[:config_version] and !params[:config_version].is_a?(String)
|
889
892
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
890
893
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
894
|
+
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
891
895
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
892
896
|
|
893
897
|
response, options = Api.send_request("/remote_servers/#{params[:id]}/configuration_file", :post, params, options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.307
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|