Sha256: 21b6e14d8b915a8d063c0a3f5d47ee3e61503540ca16f6df00b224663919dc43

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

module Fog
  module ApplicationGateway
    class AzureRM
      # SSL Certificate model class for Application Gateway Service
      class SslCertificate < Fog::Model
        identity :name
        attribute :data
        attribute :password
        attribute :public_cert_data

        def self.parse(ssl_certificate)
          hash = {}
          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
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.2 lib/fog/azurerm/models/application_gateway/ssl_certificate.rb