Sha256: c3664b948e5a1b448e89e9f8d843509febe33b8923c077707ef0cb570cc183a7

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

module Fog
  module Network
    class AzureRM
      # Vpn Client Root Certificate model class for Network Service
      class VpnClientRootCertificate < Fog::Model
        attribute :name
        attribute :id
        attribute :public_cert_data
        attribute :provisioning_state

        def self.parse(root_cert)
          hash = {}
          hash['name'] = root_cert.name
          hash['id'] = root_cert.id
          hash['public_cert_data'] = root_cert.public_cert_data
          hash['provisioning_state'] = root_cert.provisioning_state
          hash
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.1 lib/fog/azurerm/models/network/vpn_client_root_certificates.rb
fog-azure-rm-0.1.0 lib/fog/azurerm/models/network/vpn_client_root_certificates.rb
fog-azure-rm-0.0.9 lib/fog/azurerm/models/network/vpn_client_root_certificates.rb
fog-azure-rm-0.0.8 lib/fog/azurerm/models/network/vpn_client_root_certificates.rb
fog-azure-rm-0.0.6 lib/fog/azurerm/models/network/vpn_client_root_certificates.rb
fog-azure-rm-0.0.5 lib/fog/azurerm/models/network/vpn_client_root_certificates.rb