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 CertificateMergeParameters(Model): 16 """The certificate merge parameters. 17 18 All required parameters must be populated in order to send to Azure. 19 20 :param x509_certificates: Required. The certificate or the certificate 21 chain to merge. 22 :type x509_certificates: list[bytearray] 23 :param certificate_attributes: The attributes of the certificate 24 (optional). 25 :type certificate_attributes: 26 ~azure.keyvault.v2016_10_01.models.CertificateAttributes 27 :param tags: Application specific metadata in the form of key-value pairs. 28 :type tags: dict[str, str] 29 """ 30 31 _validation = { 32 'x509_certificates': {'required': True}, 33 } 34 35 _attribute_map = { 36 'x509_certificates': {'key': 'x5c', 'type': '[bytearray]'}, 37 'certificate_attributes': {'key': 'attributes', 'type': 'CertificateAttributes'}, 38 'tags': {'key': 'tags', 'type': '{str}'}, 39 } 40 41 def __init__(self, *, x509_certificates, certificate_attributes=None, tags=None, **kwargs) -> None: 42 super(CertificateMergeParameters, self).__init__(**kwargs) 43 self.x509_certificates = x509_certificates 44 self.certificate_attributes = certificate_attributes 45 self.tags = tags 46