Sha256: 9819fbead2e5ded9845b9dd2522d12137ff4b95089d795b02e1d2c41922b3f12
Contents?: true
Size: 967 Bytes
Versions: 5
Compression:
Stored size: 967 Bytes
Contents
# frozen_string_literal: true module Fog module DNS class PowerDNS class Real # Get details of all public cryptokeys # # ==== Parameters # server<~String> - server id # zone<~String> - zone id # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # * Cryptokey<~Hash>: # * 'type': <~String>, # * 'id': <~Integer>, # * 'active': <~Boolean>, # * 'keytype': <~String>, # * 'dnskey': <~String>, # * 'content': <~String>, # * 'ds': <~Array> # * status<~Integer> - 200 when successful # def list_cryptokeys(server, zone) request( expects: 200, method: 'GET', path: "/api/#{@api_version}/servers/#{server}/zones/#{zone}/cryptokeys" ).body end end end end end
Version data entries
5 entries across 3 versions & 2 rubygems