class Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCertificate

The properties of a certificate used for authenticating a token.

Attributes

encoded_pem_certificate[RW]

@return [String] Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.

expiry[RW]

@return [DateTime] The expiry datetime of the certificate.

name[RW]

@return [TokenCertificateName] Possible values include: 'certificate1', 'certificate2'

thumbprint[RW]

@return [String] The thumbprint of the certificate.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TokenCertificate',
    type: {
      name: 'Composite',
      class_name: 'TokenCertificate',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        expiry: {
          client_side_validation: true,
          required: false,
          serialized_name: 'expiry',
          type: {
            name: 'DateTime'
          }
        },
        thumbprint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'thumbprint',
          type: {
            name: 'String'
          }
        },
        encoded_pem_certificate: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encodedPemCertificate',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end