Class: Azure::ServiceFabric::Mgmt::V2018_02_01::Models::CertificateDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb

Overview

Describes the certificate details.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#thumbprintString

Returns Thumbprint of the primary certificate.

Returns:

  • (String)

    Thumbprint of the primary certificate.



16
17
18
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb', line 16

def thumbprint
  @thumbprint
end

#thumbprint_secondaryString

Returns Thumbprint of the secondary certificate.

Returns:

  • (String)

    Thumbprint of the secondary certificate.



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb', line 19

def thumbprint_secondary
  @thumbprint_secondary
end

#x509store_nameEnum

include: ‘AddressBook’, ‘AuthRoot’, ‘CertificateAuthority’, ‘Disallowed’, ‘My’, ‘Root’, ‘TrustedPeople’, ‘TrustedPublisher’

Returns:

  • (Enum)

    The local certificate store location. Possible values



24
25
26
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb', line 24

def x509store_name
  @x509store_name
end

Class Method Details

.mapperObject

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



31
32
33
34
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
# File 'lib/2018-02-01/generated/azure_mgmt_service_fabric/models/certificate_description.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificateDescription',
    type: {
      name: 'Composite',
      class_name: 'CertificateDescription',
      model_properties: {
        thumbprint: {
          client_side_validation: true,
          required: true,
          serialized_name: 'thumbprint',
          type: {
            name: 'String'
          }
        },
        thumbprint_secondary: {
          client_side_validation: true,
          required: false,
          serialized_name: 'thumbprintSecondary',
          type: {
            name: 'String'
          }
        },
        x509store_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'x509StoreName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end