1# coding=utf-8 2# -------------------------------------------------------------------------- 3# Copyright (c) Microsoft Corporation. All rights reserved. 4# Licensed under the MIT License. See License.txt in the project root for 5# license information. 6# 7# Code generated by Microsoft (R) AutoRest Code Generator. 8# Changes may cause incorrect behavior and will be lost if the code is 9# regenerated. 10# -------------------------------------------------------------------------- 11 12from msrest.serialization import Model 13 14 15class CertificateUpdateParameters(Model): 16 """The certificate update parameters. 17 18 :param certificate_policy: The management policy for the certificate. 19 :type certificate_policy: 20 ~azure.keyvault.v2016_10_01.models.CertificatePolicy 21 :param certificate_attributes: The attributes of the certificate 22 (optional). 23 :type certificate_attributes: 24 ~azure.keyvault.v2016_10_01.models.CertificateAttributes 25 :param tags: Application specific metadata in the form of key-value pairs. 26 :type tags: dict[str, str] 27 """ 28 29 _attribute_map = { 30 'certificate_policy': {'key': 'policy', 'type': 'CertificatePolicy'}, 31 'certificate_attributes': {'key': 'attributes', 'type': 'CertificateAttributes'}, 32 'tags': {'key': 'tags', 'type': '{str}'}, 33 } 34 35 def __init__(self, **kwargs): 36 super(CertificateUpdateParameters, self).__init__(**kwargs) 37 self.certificate_policy = kwargs.get('certificate_policy', None) 38 self.certificate_attributes = kwargs.get('certificate_attributes', None) 39 self.tags = kwargs.get('tags', None) 40