Class: Fog::Network::AzureRM::VpnClientRootCertificate

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/azurerm/models/network/vpn_client_root_certificates.rb

Overview

Vpn Client Root Certificate model class for Network Service

Class Method Summary collapse

Class Method Details

.parse(root_cert) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/fog/azurerm/models/network/vpn_client_root_certificates.rb', line 11

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