class Azure::KeyVault::V7_2_preview::Models::CertificateBundle

A certificate bundle consists of a certificate (X509) plus its attributes.

Attributes

attributes[RW]

@return [CertificateAttributes] The certificate attributes.

cer[RW]

@return [Array<Integer>] CER contents of x509 certificate.

content_type[RW]

@return [String] The content type of the secret.

id[RW]

@return [String] The certificate id.

kid[RW]

@return [String] The key id.

policy[RW]

@return [CertificatePolicy] The management policy.

sid[RW]

@return [String] The secret id.

tags[RW]

@return [Hash{String => String}] Application specific metadata in the form of key-value pairs

x509thumbprint[RW]

@return Thumbprint of the certificate.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.2-preview/generated/azure_key_vault/models/certificate_bundle.rb, line 49
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CertificateBundle',
    type: {
      name: 'Composite',
      class_name: 'CertificateBundle',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        kid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'kid',
          type: {
            name: 'String'
          }
        },
        sid: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sid',
          type: {
            name: 'String'
          }
        },
        x509thumbprint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'x5t',
          type: {
            name: 'Base64Url'
          }
        },
        policy: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'policy',
          type: {
            name: 'Composite',
            class_name: 'CertificatePolicy'
          }
        },
        cer: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cer',
          type: {
            name: 'ByteArray'
          }
        },
        content_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contentType',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'attributes',
          type: {
            name: 'Composite',
            class_name: 'CertificateAttributes'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end