cloudcontrol_sdk 0.3.11 → 0.3.12

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
2
  SHA256:
3
- metadata.gz: 9c0fa30ee08255660185541a2ad03856ff010fef75120df26a421bae43eabd48
4
- data.tar.gz: 6b4f6b2f99f512e9030391fd3fc33fa3270c249849efe879423258e8046b4004
3
+ metadata.gz: 8d17faf5cf614afa3b309a77795067475c4d81c9180b33a89190133f01ca684e
4
+ data.tar.gz: 3b52f63c3b584b2c6bec22030c0a9798c730f290cf7ee06e9ca3f9dec647197f
5
5
  SHA512:
6
- metadata.gz: 6cf03ef503bba81cf739150efe25456f7b7004ae6e79b565196245d3eafb1f0f9638903474620efdee97323d3c19b5bd2617b1521e97068f3dd1b153f96c8077
7
- data.tar.gz: 7e65239e60c5bf3ca06c435bde129f9266a6a1bc16f9bc1223355659fbac03ce4636f3f942998dbbceb29178032df76a4e4a7b3ac024009f65075d03cb554656
6
+ metadata.gz: 24ede1dd9f374451c37217e2f5c88f4abb2d6835ef9c2ce509e4475517d2a41bdc3283e6254879c1f5f9eba3eb58eb1c919c56943c83866bf4579bc24f307c9e
7
+ data.tar.gz: d04582fabf131c9fdf1b80241cf1b4b80d7d5f7b62a2981ca962040e5e269de81b3c5ffc04c04100aa8913df1c1cd640d7209dadf2d897c840bdb42b0693c482
@@ -61,5 +61,12 @@ module CloudControl::API
61
61
  xml_params(schema: "network", tag: "AclRule", name: name, position: position, action: (allow ? "PERMIT" : "DENY"), protocol: protocol, source_ip_range: {}, destination_ip_range: {}, port_range: {type: "EQUAL_TO", port1: port}, type: (inbound ? "OUTSIDE_ACL" : "INSIDE_ACL"))
62
62
  post
63
63
  end
64
- end
64
+
65
+ def list_fw_rules(options = {})
66
+ endpoint "/#{org_id}/network/firewallRule"
67
+ query_params options
68
+ get_simple
69
+ end
70
+
71
+ end
65
72
  end
@@ -1,4 +1,4 @@
1
1
  module CloudControl
2
- VERSION = "0.3.11"
2
+ VERSION = "0.3.12"
3
3
 
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudcontrol_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Wright
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-29 00:00:00.000000000 Z
11
+ date: 2019-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n