lib/fog/azurerm/models/application_gateway/ssl_certificate.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/application_gateway/ssl_certificate.rb in fog-azure-rm-0.2.0
- old
+ new
@@ -2,15 +2,17 @@
module ApplicationGateway
class AzureRM
# SSL Certificate model class for Application Gateway Service
class SslCertificate < Fog::Model
identity :name
+ attribute :id
attribute :data
attribute :password
attribute :public_cert_data
def self.parse(ssl_certificate)
hash = {}
+ hash['id'] = ssl_certificate.id
hash['name'] = ssl_certificate.name
hash['data'] = ssl_certificate.data
hash['password'] = ssl_certificate.password
hash['public_cert_data'] = ssl_certificate.public_cert_data
hash