Source code for azure.keyvault.models.certificate_item

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class CertificateItem(Model): """The certificate item containing certificate metadata. :param id: Certificate identifier. :type id: str :param attributes: The certificate management attributes. :type attributes: :class:`CertificateAttributes <azure.keyvault.models.CertificateAttributes>` :param tags: Application specific metadata in the form of key-value pairs. :type tags: dict :param x509_thumbprint: Thumbprint of the certificate. :type x509_thumbprint: bytes """ _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'attributes': {'key': 'attributes', 'type': 'CertificateAttributes'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'x509_thumbprint': {'key': 'x5t', 'type': 'base64'}, } def __init__(self, id=None, attributes=None, tags=None, x509_thumbprint=None): self.id = id self.attributes = attributes self.tags = tags self.x509_thumbprint = x509_thumbprint