Class: Azure::Batch::Mgmt::V2019_08_01::Models::CertificateBaseProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#formatCertificateFormat

or Cer. If omitted, the default is Pfx. Possible values include: ‘Pfx’, ‘Cer’

Returns:



28
29
30
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb', line 28

def format
  @format
end

#thumbprintString

thumbprint from the name.

Returns:

  • (String)

    The thumbprint of the certificate. This must match the



23
24
25
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb', line 23

def thumbprint
  @thumbprint
end

#thumbprint_algorithmString

match the first portion of the certificate name. Currently required to be ‘SHA1’.

Returns:

  • (String)

    The algorithm of the certificate thumbprint. This must



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/certificate_base_properties.rb', line 19

def thumbprint_algorithm
  @thumbprint_algorithm
end

Class Method Details

.mapperObject

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



35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/2019-08-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