class Azure::Batch::Mgmt::V2017_09_01::Models::CertificateBaseProperties

Model object.

Attributes

format[RW]

@return [CertificateFormat] The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Possible values include: 'Pfx', 'Cer'

thumbprint[RW]

@return [String] The thumbprint of the certificate. This must match the thumbprint from the name.

thumbprint_algorithm[RW]

@return [String] The algorithm of the certificate thumbprint. This must match the first portion of the certificate name. Currently required to be 'SHA1'.

Public Class Methods

mapper() click to toggle source

Mapper for CertificateBaseProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-09-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificateBaseProperties',
    type: {
      name: 'Composite',
      class_name: 'CertificateBaseProperties',
      model_properties: {
        thumbprint_algorithm: {
          client_side_validation: true,
          required: false,
          serialized_name: 'thumbprintAlgorithm',
          type: {
            name: 'String'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'thumbprint',
          type: {
            name: 'String'
          }
        },
        format: {
          client_side_validation: true,
          required: false,
          serialized_name: 'format',
          type: {
            name: 'Enum',
            module: 'CertificateFormat'
          }
        }
      }
    }
  }
end