Class: Azure::ApiManagement::Mgmt::V2019_12_01::Models::CertificateConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb

Overview

Certificate configuration which consist of non-trusted intermediates and root certificates.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#certificateCertificateInformation

Returns Certificate information.

Returns:



29
30
31
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 29

def certificate
  @certificate
end

#certificate_passwordString

Returns Certificate Password.

Returns:

  • (String)

    Certificate Password.



20
21
22
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 20

def certificate_password
  @certificate_password
end

#encoded_certificateString

Returns Base64 Encoded certificate.

Returns:

  • (String)

    Base64 Encoded certificate.



17
18
19
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 17

def encoded_certificate
  @encoded_certificate
end

#store_nameEnum

System.Security.Cryptography.x509certificates.StoreName certificate store location. Only Root and CertificateAuthority are valid locations. Possible values include: ‘CertificateAuthority’, ‘Root’

Returns:

  • (Enum)

    The



26
27
28
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 26

def store_name
  @store_name
end

Class Method Details

.mapperObject

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



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
73
74
75
76
77
78
79
80
81
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificateConfiguration',
    type: {
      name: 'Composite',
      class_name: 'CertificateConfiguration',
      model_properties: {
        encoded_certificate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encodedCertificate',
          type: {
            name: 'String'
          }
        },
        certificate_password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'certificatePassword',
          type: {
            name: 'String'
          }
        },
        store_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'storeName',
          type: {
            name: 'String'
          }
        },
        certificate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'certificate',
          type: {
            name: 'Composite',
            class_name: 'CertificateInformation'
          }
        }
      }
    }
  }
end