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 KeyRestoreParameters(Model): 16 """The key restore parameters. 17 18 All required parameters must be populated in order to send to Azure. 19 20 :param key_bundle_backup: Required. The backup blob associated with a key 21 bundle. 22 :type key_bundle_backup: bytes 23 """ 24 25 _validation = { 26 'key_bundle_backup': {'required': True}, 27 } 28 29 _attribute_map = { 30 'key_bundle_backup': {'key': 'value', 'type': 'base64'}, 31 } 32 33 def __init__(self, **kwargs): 34 super(KeyRestoreParameters, self).__init__(**kwargs) 35 self.key_bundle_backup = kwargs.get('key_bundle_backup', None) 36