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 SecretUpdateParameters(Model): 16 """The secret update parameters. 17 18 :param content_type: Type of the secret value such as a password. 19 :type content_type: str 20 :param secret_attributes: The secret management attributes. 21 :type secret_attributes: 22 ~azure.keyvault.v2016_10_01.models.SecretAttributes 23 :param tags: Application specific metadata in the form of key-value pairs. 24 :type tags: dict[str, str] 25 """ 26 27 _attribute_map = { 28 'content_type': {'key': 'contentType', 'type': 'str'}, 29 'secret_attributes': {'key': 'attributes', 'type': 'SecretAttributes'}, 30 'tags': {'key': 'tags', 'type': '{str}'}, 31 } 32 33 def __init__(self, *, content_type: str=None, secret_attributes=None, tags=None, **kwargs) -> None: 34 super(SecretUpdateParameters, self).__init__(**kwargs) 35 self.content_type = content_type 36 self.secret_attributes = secret_attributes 37 self.tags = tags 38