Class: Fog::Network::AzureRM::VpnClientRevokedCertificate

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

Overview

Vpn Client Revoked Certificate model class for Network Service

Class Method Summary collapse

Class Method Details

.parse(revoked_cert) ⇒ Object



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

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